/* ===================================
   STEP 5: COMPLIANCE SECTION STYLES
   REDESIGNED - Modern Card-Based Layout
   =================================== */

.compliance-section {
    margin: 32px 0;
}

/* Main Container - Redesigned */
.compliance-box-redesign {
    background: linear-gradient(135deg, rgba(0, 200, 120, 0.08) 0%, rgba(0, 240, 255, 0.05) 100%);
    border: 2px solid rgba(0, 200, 120, 0.25);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.compliance-box-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success-green), var(--electric-blue), var(--success-green));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Icon Wrapper */
.compliance-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.compliance-icon-wrapper i {
    font-size: 48px;
    color: var(--success-green);
    position: relative;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.compliance-icon-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 200, 120, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Header Redesigned */
.compliance-header-redesign {
    text-align: center;
    margin-bottom: 28px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 120, 0.15);
    color: var(--success-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.compliance-badge i {
    font-size: 14px;
}

.compliance-header-redesign h3 {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.compliance-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* Compliance Cards Grid */
.compliance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.compliance-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 120, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 200, 120, 0.4);
    background: rgba(0, 200, 120, 0.05);
}

.compliance-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 200, 120, 0.2) 0%, rgba(0, 240, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.compliance-card-icon i {
    font-size: 22px;
    color: var(--success-green);
}

.compliance-card-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.compliance-card-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Accept Checkbox Redesigned */
.compliance-accept-redesign {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 200, 120, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compliance-accept-redesign:hover {
    border-color: var(--success-green);
    background: rgba(0, 200, 120, 0.05);
}

.compliance-accept-redesign input[type="checkbox"] {
    display: none;
}

.accept-checkbox {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid rgba(0, 200, 120, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.accept-checkbox i {
    font-size: 14px;
    color: transparent;
    transition: all 0.3s ease;
}

.compliance-accept-redesign input[type="checkbox"]:checked + .accept-checkbox {
    background: var(--success-green);
    border-color: var(--success-green);
}

.compliance-accept-redesign input[type="checkbox"]:checked + .accept-checkbox i {
    color: #000;
}

.accept-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.accept-text strong {
    color: var(--success-green);
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Error Message Redesigned */
.compliance-error-redesign {
    background: rgba(0, 200, 120, 0.1);
    border: 1px solid var(--success-green);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--success-green);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
    animation: fadeInUp 0.3s ease-out;
}

.compliance-error-redesign i {
    font-size: 18px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .compliance-box-redesign {
        padding: 24px 20px;
    }
    
    .compliance-cards {
        grid-template-columns: 1fr;
    }
    
    .compliance-header-redesign h3 {
        font-size: 22px;
    }
    
    .compliance-icon-wrapper i {
        font-size: 40px;
    }
    
    .compliance-icon-glow {
        width: 80px;
        height: 80px;
    }
}

/* ===================================
   LEGACY SUPPORT (kept for reference)
   =================================== */

.compliance-box {
    background: rgba(0, 200, 120, 0.05);
    border: 2px solid rgba(0, 200, 120, 0.3);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 16px;
}

.compliance-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--success-green);
}

.compliance-header i {
    font-size: 24px;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.compliance-header h3 {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 0;
}

.compliance-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.compliance-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

.compliance-text ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.compliance-text li {
    padding: 8px 0 8px 32px;
    position: relative;
}

.compliance-text li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-size: 16px;
}

.compliance-checkbox {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compliance-checkbox:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 0, 0, 0.6);
}

.compliance-checkbox .checkbox-text {
    font-size: 15px;
    line-height: 1.6;
}

.compliance-checkbox .checkbox-text strong {
    color: var(--electric-blue);
}

.compliance-error {
    background: rgba(0, 200, 120, 0.1);
    border: 1px solid var(--success-green);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--success-green);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: shake 0.5s ease-out;
}

.compliance-error i {
    font-size: 18px;
}
