@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.cdoc-container-root {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(30, 58, 138, 0.5);
}

.step-transition {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-inner-shadow {
    box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.03);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}
.animate-shake {
    animation: shake 0.5s ease-in-out;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

@media print {
    body * { visibility: hidden !important; }
    #cdoc-step-result, #cdoc-step-result * { visibility: visible !important; }
    #cdoc-step-result {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        padding: 40px !important;
        background: white !important;
        border: 2px solid #f1f5f9 !important;
        border-radius: 20px !important;
    }
    #cdoc-step-result button, #cdoc-step-result .action-buttons { display: none !important; }
}
