/* Policies Pages Styles */
.policy-page {
    background: var(--bg-light);
    color: var(--bg-dark);
    min-height: 100vh;
    padding: 2rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.policy-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.policy-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--bg-dark);
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content strong {
    color: var(--primary-color);
}

.policy-content em {
    color: var(--accent-color);
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.policy-back-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.policy-back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.policy-last-updated {
    text-align: center;
    color: rgba(31, 31, 31, 0.6);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(31, 31, 31, 0.2);
}

/* Contact Information in Policies */
.contact-info-policy {
    background: rgba(114, 81, 181, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
}

.contact-info-policy h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-policy p {
    margin-bottom: 0.5rem;
}

/* Error Messages */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border-left: 4px solid #c62828;
}

.info-message {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border-left: 4px solid #2e7d32;
}

/* Success Page Styles */
.success-page {
    background: var(--gradient);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.success-content {
    max-width: 600px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-icon {
    margin-bottom: 2rem;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

.success-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.success-back-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.success-back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Success Page */
@media (max-width: 768px) {
    .success-content {
        padding: 2rem;
    }
    
    .success-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .success-icon svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .success-content {
        padding: 1.5rem;
    }
    
    .success-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .success-content p {
        font-size: 1rem;
    }
    
    .success-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 380px) {
    .success-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }
}

/* Responsive Design for Policies */
@media (max-width: 768px) {
    .policy-container {
        padding: 0 15px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-header {
        padding: 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .success-content {
        padding: 1.5rem;
    }
    
    .success-content h1 {
        font-size: 1.8rem;
    }
    
    .success-content p {
        font-size: 1rem;
    }
} 