/* Privacy Policy and Terms Styles */

.privacy-page {
    padding: 80px 0 40px;
    background: #f8f9fa;
    min-height: calc(100vh - 160px);
}

.privacy-page h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.effective-date {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.privacy-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.privacy-section h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.privacy-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* SMS Notice Styles */
.sms-notice {
    background: #e8f4fd;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.sms-notice.highlight {
    background: #fef2e8;
    border-color: #e67e22;
}

.help-notice {
    background: #e8f6e8;
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.opt-out-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.opt-out-info h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Contact Grid Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-item p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Info Grid Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.info-item h4 {
    color: #3498db;
    margin-bottom: 10px;
}

/* SLA Grid Styles */
.sla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.sla-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-top: 4px solid #3498db;
}

.sla-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sla-item ul {
    list-style: none;
    padding: 0;
}

.sla-item li {
    padding: 5px 0;
    border-bottom: 1px solid #ecf0f1;
}

.sla-item li:last-child {
    border-bottom: none;
}

/* Form Styles for SMS Preferences */
.preferences-form {
    background: white;
    padding: 0;
}

.form-group {
    margin-bottom: 30px;
}

.form-group h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
}

.checkbox-group {
    space-y: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 10px;
    border-radius: 6px;
}

.checkbox-label:hover {
    background-color: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #ecf0f1;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #3498db;
    border-color: #3498db;
}

.checkbox-label input:disabled ~ .checkmark {
    background-color: #95a5a6;
    border-color: #95a5a6;
    opacity: 0.6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.label-content {
    flex: 1;
}

.label-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 4px;
}

.label-content small {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: #3498db;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

/* Emergency Contact Styles */
.emergency-contact {
    background: #fee;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.emergency-contact h4 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.emergency-contact p {
    margin-bottom: 8px;
    font-weight: 500;
}

/* Agreement Notice */
.agreement-notice {
    background: #e8f4fd;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.agreement-notice h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Confirmation Message */
.confirmation-message {
    background: #d4edda;
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.confirmation-message h3 {
    color: #27ae60;
    margin-bottom: 10px;
}

/* Back to Top */
.back-to-top {
    text-align: center;
    margin: 30px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .privacy-page h1 {
        font-size: 2rem;
    }
    
    .privacy-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-grid,
    .info-grid,
    .sla-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .privacy-page {
        padding: 60px 0 20px;
    }
    
    .privacy-section {
        padding: 15px;
        border-radius: 6px;
    }
    
    .checkbox-label {
        padding: 8px;
    }
    
    .sms-notice,
    .help-notice,
    .emergency-contact,
    .agreement-notice {
        padding: 15px;
    }
}