/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Methods */
.contact-methods {
    padding: 80px 0;
    background: #f8f9fa;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.method-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.method-details {
    text-align: left;
    margin-bottom: 2rem;
}

.method-details p {
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-details strong {
    color: #333;
}

.method-details a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.method-details a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.method-details address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
    margin-top: 0.5rem;
}

.method-hours,
.method-response {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #666;
}

.method-hours p,
.method-response p {
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.method-hours i,
.method-response i {
    color: #e74c3c;
    width: 16px;
}

.chat-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.chat-btn i {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

/* Contact Forms */
.contact-forms {
    padding: 80px 0;
    background: white;
}

.form-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.form-tab {
    background: white;
    border: 2px solid #eee;
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
}

.form-tab.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

.form-tab:hover:not(.active) {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    display: none;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.contact-form.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.1);
    transform: translateY(-2px);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #27ae60;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(231, 76, 60, 0.05);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #e74c3c;
    cursor: pointer;
}

.checkbox-item span {
    color: #666;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Form Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    background: #ffeaea;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #27ae60;
    background: #eafaf1;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Location & Facilities */
.location-facilities {
    padding: 80px 0;
    background: #f8f9fa;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.facility-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.facility-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.facility-info {
    padding: 2.5rem;
}

.facility-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.facility-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

.facility-address i {
    color: #e74c3c;
    font-size: 1.1rem;
}

.facility-features {
    margin-bottom: 2rem;
}

.facility-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.facility-features .feature i {
    color: #27ae60;
    font-size: 1.1rem;
    width: 16px;
}

.facility-hours {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.facility-hours h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.facility-hours p {
    color: #666;
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.directions-btn {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.directions-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Map Container */
.map-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.map-placeholder {
    padding: 4rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #ddd;
}

.map-placeholder i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.map-placeholder h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 2rem;
}

.map-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e74c3c;
    color: white;
}

.faq-question span {
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: #e74c3c;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Social Media & Newsletter */
.social-newsletter {
    padding: 80px 0;
    background: #f8f9fa;
}

.social-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-section,
.newsletter-section {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-section h3,
.newsletter-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.social-section p,
.newsletter-section p {
    color: #666;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.tiktok {
    background: #000000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.5rem;
}

.newsletter-form {
    max-width: 350px;
    margin: 0 auto;
}

.newsletter-input {
    position: relative;
    margin-bottom: 1rem;
}

.newsletter-input input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.1);
}

.newsletter-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-input button:hover {
    background: #c0392b;
    transform: translateY(-50%) scale(1.1);
}

.newsletter-consent {
    text-align: left;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.consent-checkbox input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    accent-color: #e74c3c;
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.form-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .methods-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .method-card {
        padding: 2rem 1.5rem;
    }

    .form-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .form-tab {
        width: 250px;
        text-align: center;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .facility-info {
        padding: 2rem;
    }

    .map-placeholder {
        padding: 2rem;
    }

    .social-newsletter-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .faq-question {
        padding: 1.5rem;
    }

    .faq-question span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .method-card {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 2rem 1rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .facility-info {
        padding: 1.5rem;
    }

    .social-section,
    .newsletter-section {
        padding: 2rem 1.5rem;
    }

    .map-placeholder {
        padding: 1.5rem;
    }

    .map-placeholder i {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    .contact-hero,
    .social-newsletter {
        display: none;
    }
    
    .contact-methods,
    .location-facilities {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .method-card,
    .facility-card,
    .contact-form {
        border: 2px solid #000;
    }
    
    .submit-btn,
    .chat-btn {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .method-icon {
        animation: none;
    }
}
/* Form help text */
.form-help {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Error and success states for form groups */
.form-group.error {
    margin-bottom: 1.5rem;
}

.form-group.error input,
.form-group.error select {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-group.success input,
.form-group.success select {
    border-color: #27ae60;
    background-color: #f0f9f0;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Form message styles */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

.form-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Zalo link styling - thay thế YouTube */
.social-link.zalo {
    background: linear-gradient(135deg, #0068ff, #0052cc);
    color: white;
}

.social-link.zalo:hover {
    background: linear-gradient(135deg, #0052cc, #003d99);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 104, 255, 0.3);
}

.social-link.zalo i {
    color: white;
}

/* Đảm bảo các social links khác vẫn hoạt động */
.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fccc63);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000, #ff0050);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1464d8);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #d73447, #7c2d9e, #f4bb44);
}

.social-link.tiktok:hover {
    background: linear-gradient(135deg, #ff0050, #000000);
}
/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideUp 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.success-content {
    padding: 40px 30px 30px;
    text-align: center;
}

.success-icon {
    margin-bottom: 25px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    margin: 0 auto;
    position: relative;
    animation: scaleIn 0.5s ease 0.2s both;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 40px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: checkmarkDraw 0.3s ease 0.5s both;
}

.success-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    animation: fadeInUp 0.4s ease 0.3s both;
}

.success-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.4s ease 0.4s both;
}

.success-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.4s ease 0.5s both;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
}

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

.detail-item i {
    color: #27ae60;
    width: 16px;
    text-align: center;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.4s ease 0.6s both;
}

.primary-btn,
.secondary-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    border: none;
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.secondary-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #eee;
}

.secondary-btn:hover {
    background: #e9ecef;
    border-color: #ddd;
    transform: translateY(-2px);
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: toastSlideIn 0.3s ease;
    border-left: 4px solid #27ae60;
}

.toast-notification.success {
    border-left-color: #27ae60;
}

.toast-notification.error {
    border-left-color: #e74c3c;
}

.toast-notification.warning {
    border-left-color: #f39c12;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.toast-notification.success .toast-icon {
    background: #27ae60;
}

.toast-notification.error .toast-icon {
    background: #e74c3c;
}

.toast-notification.warning .toast-icon {
    background: #f39c12;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.toast-message {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: #f0f0f0;
    color: #666;
}

/* Animations */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .success-content {
        padding: 30px 25px 25px;
    }
    
    .success-content h3 {
        font-size: 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast-notification {
        min-width: auto;
    }
}

