/* Contact Success Page Styles */

/* Success Container */
.success-container {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    margin-bottom: 2rem;
}

.success-header {
    margin-bottom: 2rem;
}

.success-icon {
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Inquiry ID Box */
.inquiry-id-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    margin: 0 auto;
    max-width: 400px;
}

.inquiry-id-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.inquiry-id-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

/* Form Container */
.form-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.section-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #3b82f6;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #10b981;
}

.subsection-title {
    color: #374151;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Detail Sections */
.detail-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #3b82f6;
    margin-bottom: 1.5rem;
}

.detail-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: #1e40af;
    min-width: 120px;
    display: inline-block;
    font-weight: 600;
}

/* Message Content */
.message-content {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-line;
}

/* Timeline Section */
.timeline-section {
    margin-top: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.timeline-content {
    margin-left: 1rem;
    color: #374151;
    line-height: 1.6;
}

.timeline-content strong {
    color: #1e40af;
    font-weight: 600;
}

/* Contact Info Box */
.contact-info-box {
    border: none;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
}

.contact-details {
    margin-top: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: black;
    padding: 0.5rem 0;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item strong {
    color: #1e40af;
    margin-left: 0.5rem;
}

/* Badge Styling */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.bg-primary {
    background-color: #3b82f6 !important;
}

/* Action Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-outline-success {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
}

.btn-outline-success:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem 1rem;
    }
    
    .inquiry-id-box {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .inquiry-id-value {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -2rem;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .detail-item strong {
        min-width: 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .success-container {
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .inquiry-id-box {
        padding: 1rem;
    }
    
    .inquiry-id-value {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .timeline-content {
        margin-left: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Flash Message Styling */
.message {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: none;
    font-weight: 500;
}

.message.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.message.warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.message.info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Print Styles */
@media print {
    .btn {
        display: none !important;
    }
    
    .success-container {
        border: 2px solid #10b981;
        box-shadow: none;
    }
    
    .form-container {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .inquiry-id-box {
        box-shadow: none;
        border: 2px solid #3b82f6;
    }
}
