/* 
 * WP Warranty Service - Basic Styles 
 */

.wp-ws-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wp-ws-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a202c;
    font-size: 24px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

.wp-ws-form-group {
    margin-bottom: 15px;
}

.wp-ws-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4a5568;
}

.wp-ws-form-group input,
.wp-ws-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.wp-ws-form-group input:focus,
.wp-ws-form-group textarea:focus {
    border-color: #3182ce;
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.wp-ws-btn {
    background: #3182ce;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.wp-ws-btn:hover {
    background: #2b6cb0;
}

.wp-ws-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.wp-ws-message, .wp-ws-reply-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
}

.wp-ws-message.success, .wp-ws-reply-message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.wp-ws-message.error, .wp-ws-reply-message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Result Cards */
.wp-ws-result-card {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

.wp-ws-card-header {
    background: #f7fafc;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-ws-card-header h4 {
    margin: 0;
    font-size: 18px;
    color: #2d3748;
}

.wp-ws-status {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
}

.wp-ws-status-pending { background: #feebc8; color: #c05621; }
.wp-ws-status-active { background: #c6f6d5; color: #22543d; }
.wp-ws-status-rejected { background: #fed7d7; color: #9b2c2c; }
.wp-ws-status-processing { background: #bee3f8; color: #2b6cb0; }
.wp-ws-status-completed { background: #c6f6d5; color: #22543d; }

.wp-ws-card-body {
    padding: 15px;
}

.wp-ws-card-body p {
    margin: 0 0 8px 0;
    color: #4a5568;
}

.wp-ws-logs {
    padding: 15px;
    background: #fdfdfd;
    border-top: 1px solid #e2e8f0;
}

.wp-ws-logs h5 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.wp-ws-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-ws-timeline li {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 6px;
}

.wp-ws-timeline li.customer-reply {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    margin-right: 20px;
}

.wp-ws-timeline li.staff-reply {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    margin-left: 20px;
}

.wp-ws-log-meta {
    margin-bottom: 5px;
    font-size: 14px;
}

.wp-ws-log-meta span {
    color: #718096;
}

.wp-ws-log-message {
    color: #2d3748;
    line-height: 1.5;
}

.wp-ws-no-logs {
    color: #a0aec0;
    font-style: italic;
}

.wp-ws-customer-reply-form {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.wp-ws-customer-reply-form h5 {
    margin-top: 0;
    margin-bottom: 10px;
}

.wp-ws-customer-reply-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.wp-ws-customer-reply-form textarea:focus {
    border-color: #3182ce;
    outline: none;
}
