/* Consent Page Styles */

.consent-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.consent-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 2.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.8;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background 0.3s;
}

.step.active .step-number {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
}

.step.completed .step-number {
    background: #4ade80;
}

.step.completed .step-number::after {
    content: '✓';
}

.step-label {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    max-width: 100px;
}

/* Step Content */
.consent-step {
    background: #1e1e3f;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.step-content {
    max-width: 600px;
    margin: 0 auto;
}

.step-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
}

.step-icon.success {
    color: #4ade80;
}

.step-content h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.step-description {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #252550;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group input::placeholder {
    color: #666;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #888;
}

/* Age Notice */
.age-notice {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    margin: 25px 0;
}

.notice-icon {
    font-size: 2rem;
}

.notice-content h4 {
    color: #fbbf24;
    margin-bottom: 5px;
}

.notice-content p {
    color: #ccc;
    font-size: 0.95rem;
}

/* Data Categories */
.data-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.data-category {
    background: #252550;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.category-icon {
    font-size: 1.8rem;
}

.category-info h4 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.category-badge.camera {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.category-badge.optional {
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
}

.category-badge.derived {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.data-category p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.data-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.data-examples span {
    padding: 4px 10px;
    background: #1a1a3a;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    margin: 25px 0;
}

.info-icon {
    font-size: 2rem;
}

.info-content h4 {
    color: #00d4ff;
    margin-bottom: 10px;
}

.info-content ul {
    margin: 0;
    padding-left: 20px;
    color: #ccc;
}

.info-content li {
    margin-bottom: 5px;
}

/* Consent Options */
.consent-options {
    margin-bottom: 30px;
}

.consent-options h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.consent-group {
    margin-bottom: 25px;
}

.consent-group h4 {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.consent-group.required h4::after {
    content: ' *';
    color: #f87171;
}

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #252550;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}

.consent-option:hover {
    background: #2d2d60;
}

.consent-option input[type="checkbox"] {
    display: none;
}

.consent-option .checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #555;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.consent-option input:checked + .checkmark {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-color: transparent;
}

.consent-option input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-weight: 600;
}

.consent-text strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
}

.consent-text p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.consent-text a {
    color: #00d4ff;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

/* Legal Section */
.legal-section {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

.legal-section .consent-option {
    background: transparent;
    border: 1px solid #333;
}

/* Guardian Section */
.guardian-section {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.guardian-section h3 {
    color: #a78bfa;
    margin-bottom: 20px;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #555;
    color: #ccc;
}

.btn-secondary:hover {
    border-color: #888;
    color: #fff;
}

.btn-link {
    background: none;
    border: none;
    color: #00d4ff;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: underline;
}

/* Verification Box */
.verification-box {
    background: #252550;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.verification-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-step {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ccc;
}

.v-step-number {
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #888;
}

.resend-section {
    text-align: center;
    margin-top: 20px;
    color: #888;
}

/* Success Summary */
.success-summary {
    background: #252550;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.success-summary h4 {
    color: #fff;
    margin-bottom: 15px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.summary-item.granted {
    color: #4ade80;
}

.summary-item.denied {
    color: #888;
}

/* Footer */
.consent-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #00d4ff;
}

.copyright {
    color: #555;
    font-size: 0.85rem;
}

/* Modal Overrides */
.modal-content.large {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #00d4ff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body p,
.modal-body li {
    color: #aaa;
    line-height: 1.6;
}

.modal-body ul {
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .consent-container {
        padding: 15px;
    }

    .consent-step {
        padding: 25px;
    }

    .progress-steps {
        gap: 5px;
    }

    .step-label {
        font-size: 0.7rem;
        max-width: 70px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}
