/* ============================================
   TRUST ELEMENTS - Banner, Badges & Consent
   ============================================ */

/* Trust Banner (Homepage) */
.trust-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(30, 30, 50, 0.9) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px 25px;
    margin: 20px auto 40px auto;
    max-width: 800px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trust-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    flex-shrink: 0;
}

.trust-badge img {
    width: 80px;
    height: auto;
}

.trust-info {
    flex: 1;
    min-width: 200px;
}

.trust-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFCC00;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-features li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ecdc4;
    border-radius: 50%;
}

.trust-link {
    color: #4ecdc4;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.2s ease;
}

.trust-link:hover {
    color: #6ee7de;
    text-decoration: underline;
}

/* Trust Footer Badges */
.trust-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-footer-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.trust-footer-badge:hover {
    opacity: 1;
}

.trust-footer-badge .badge-icon {
    font-size: 1.8rem;
}

.trust-footer-badge .badge-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Small inline badge (for footer links) */
.trust-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badge-small img {
    width: 20px;
    height: auto;
}

/* ============================================
   Camera Consent Dialog
   ============================================ */
.camera-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.camera-consent-dialog {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: dialogAppear 0.3s ease;
}

@keyframes dialogAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.consent-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.consent-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.consent-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.consent-highlights {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: left;
}

.consent-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consent-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-highlights li:last-child {
    border-bottom: none;
}

.consent-highlights .highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.consent-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.consent-btn-accept {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
}

.consent-btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.4);
}

.consent-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.consent-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.consent-footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.consent-footer a {
    color: #4ecdc4;
    text-decoration: none;
}

.consent-footer a:hover {
    text-decoration: underline;
}

/* Badge in consent dialog */
.consent-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0 25px 0;
    padding: 10px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.consent-badge img {
    width: 40px;
    height: auto;
}

.consent-badge span {
    font-size: 0.85rem;
    color: #FFCC00;
}

/* Responsive */
@media (max-width: 600px) {
    .trust-banner {
        padding: 15px;
        margin: 15px;
    }

    .trust-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-info {
        text-align: center;
    }

    .trust-features {
        justify-content: center;
    }

    .camera-consent-dialog {
        padding: 20px;
    }

    .consent-title {
        font-size: 1.2rem;
    }

    .consent-description {
        font-size: 0.9rem;
    }

    .consent-buttons {
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .trust-footer {
        gap: 20px;
    }

    .trust-footer-badge .badge-icon {
        font-size: 1.5rem;
    }

    .trust-footer-badge .badge-text {
        font-size: 0.65rem;
    }
}
