/* Check Repairs Page Specific Styles */

/* Repair Hero Section */
.repair-hero {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.repair-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.repair-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.repair-main {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Search Section */
.search-section {
    margin-bottom: 60px;
}

.search-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: -40px auto 0;
    position: relative;
    z-index: 10;
    border-top: 4px solid #e53e3e;
}

.search-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.search-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styles */
.repair-search-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
}

.search-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.search-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* Help Section */
.help-section {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
}

.help-section svg {
    width: 24px;
    height: 24px;
    stroke: #e53e3e;
    stroke-width: 2;
    flex-shrink: 0;
}

.help-section strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.help-section p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.help-section a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
}

.help-section a:hover {
    text-decoration: underline;
}

/* Results Section */
.results-section {
    margin-bottom: 60px;
}

.results-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #e53e3e;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-success-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: scaleIn 0.4s ease;
}

.result-success-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 3;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.result-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.result-subtitle {
    color: #666;
}

/* Status Timeline */
.status-timeline {
    margin: 2rem 0;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% + 2rem);
    background: #e0e0e0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-icon.completed {
    background: #1a1a1a;
}

.timeline-icon.current {
    background: #e53e3e;
    animation: pulse 2s infinite;
}

.timeline-icon.pending {
    background: #e0e0e0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2.5;
}

.timeline-icon.pending svg {
    stroke: #999;
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-status {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.timeline-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

/* Repair Details */
.repair-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 2rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #1a1a1a;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.in-progress {
    background: #e53e3e;
    color: white;
}

.status-badge.completed {
    background: #1a1a1a;
    color: white;
}

.status-badge.awaiting {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

/* Action Buttons */
.result-actions {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 200px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
}

.action-btn.secondary {
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-btn.secondary:hover {
    background: #1a1a1a;
    color: white;
}

.action-btn.secondary:hover svg {
    stroke: white;
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-top: 3px solid #e53e3e;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #e53e3e;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: #e53e3e;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    margin-bottom: 60px;
}

.cta-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.cta-btn.primary {
    background: #e53e3e;
    color: white;
    border: none;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    background: #c53030;
}

.cta-btn.secondary:hover {
    background: white;
    color: #1a1a1a;
}

.cta-btn.secondary:hover svg {
    stroke: #1a1a1a;
}

/* Error State */
.result-error {
    text-align: center;
}

.result-error-icon {
    width: 60px;
    height: 60px;
    background: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.result-error-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .repair-hero-title {
        font-size: 2rem;
    }

    .repair-hero-subtitle {
        font-size: 1rem;
    }

    .search-card {
        padding: 30px 20px;
        margin: -30px 15px 0;
    }

    .results-card {
        padding: 30px 20px;
    }

    .result-actions {
        flex-direction: column;
    }

    .action-btn {
        min-width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .repair-hero {
        padding: 60px 0 40px;
    }

    .repair-main {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
}