/* ========================================
   FONTS CONFIGURATION
======================================== */
.font-outfit { font-family: 'Outfit', sans-serif; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ========================================
   MOBILE SAFETY (PREVENT HORIZONTAL OVERFLOW)
======================================== */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
    width: 100%;
}

/* ========================================
   CARD SELECTION STATE
======================================== */
.card-option.active {
    border-color: #10B981 !important;
    background-color: #D1FAE5 !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
}

.card-option.active h4 {
    color: #065F46; /* Emerald 800 */
}

/* ========================================
   TOOLTIP SYSTEM (Premium Glass Style)
======================================== */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Ikon Tanda Tanya */
.tooltip-icon {
    width: 16px;
    height: 16px;
    background-color: #E2E8F0; /* Slate 200 */
    color: #64748B; /* Slate 500 */
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tooltip-icon:hover {
    background-color: #10B981; /* Emerald 500 */
    color: white;
    transform: scale(1.1);
}

/* Kotak Tooltip Utama */
.tooltip-box {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    width: 300px;
    background: rgba(255, 255, 255, 0.98); /* Glassy White */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Border & Shadow Premium */
    border: 1px solid #D1FAE5; /* Emerald 50 Border */
    border-left: 4px solid #10B981; /* Aksen Emerald Kuat */
    border-radius: 12px;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(16, 185, 129, 0.05);
    
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    text-align: left;
    overflow: hidden; /* Untuk header */
}

/* Header Tooltip */
.tooltip-header {
    background-color: #F0FDF4; /* Emerald 50 */
    padding: 8px 14px;
    border-bottom: 1px solid #D1FAE5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tooltip-header span {
    font-size: 12px;
    font-weight: 700;
    color: #065F46; /* Emerald 800 */
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tooltip-header svg {
    width: 14px;
    height: 14px;
    color: #10B981;
}

/* Body Tooltip */
.tooltip-content {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #334155; /* Slate 700 */
}

/* Arrow Tooltip (Menggunakan Pseudo Element) */
.tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

/* Animasi Muncul */
.tooltip-container:hover .tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   FORM STYLING
======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155; /* Slate 700 */
    margin-bottom: 8px;
}

/* Custom Select Styling */
.custom-select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0F172A;
    background-color: #F8FAFC; /* Slate 50 */
    border: 1px solid #E2E8F0; /* Slate 200 */
    border-radius: 12px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em 1.5em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select:hover {
    border-color: #10B981;
}

.custom-select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background-color: white;
}

.manual-input {
    margin-top: 8px;
    width: 100%;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0F172A;
    background-color: white;
    border: 1px dashed #10B981;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.manual-input:focus {
    outline: none;
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ========================================
   ANIMATION
======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.4s ease forwards;
}

/* ========================================
   INFO MODAL POPUP (For Long Tooltips)
======================================== */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6); /* Slate 900 with opacity */
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.info-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.info-modal-box {
    background: #FFFFFF;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.info-modal-overlay.active .info-modal-box {
    transform: translateY(0) scale(1);
}

.info-modal-header {
    padding: 20px 24px;
    background: #F0FDF4; /* Emerald 50 */
    border-bottom: 1px solid #D1FAE5; /* Emerald 100 */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #065F46; /* Emerald 800 */
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: none;
    color: #10B981;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.info-modal-close:hover {
    background: #10B981;
    color: white;
}

.info-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #334155; /* Slate 700 */
}

/* Styling khusus untuk konten di dalam modal body */
.info-modal-body strong {
    color: #0F172A; /* Slate 900 */
}

/* Tombol Icon Baru (Untuk membedakan dengan tooltip kecil) */
.info-icon-btn {
    width: 18px;
    height: 18px;
    background-color: #10B981; /* Emerald 500 */
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 6px;
    vertical-align: middle;
    border: 1px solid transparent;
}

.info-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ========================================
   PREVIEW & PROMPT BOX STYLE
======================================== */
.prompt-box {
    background-color: #1E293B; /* Slate 800 */
    color: #E2E8F0; /* Slate 200 */
    border-radius: 16px;
    padding: 24px;
    font-family: 'Fira Code', 'Monaco', monospace; /* Monospace font */
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap; /* Agar format enter/spasi tetap terjaga */
    word-break: break-word;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #334155; /* Slate 700 */
}

.prompt-box::-webkit-scrollbar {
    width: 8px;
}

.prompt-box::-webkit-scrollbar-track {
    background: #1E293B;
    border-radius: 10px;
}

.prompt-box::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

.prompt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #334155;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #10B981;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background-color: #0EA5E9; /* Sky 500 */
}
/* ========================================
   LAYOUT STICKY PREVIEW
======================================== */
#previewContainer {
    display: flex;
    flex-direction: column;
}

/* ========================================
   MAC WINDOW STYLE PREVIEW
======================================== */
.mac-window {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px; /* Ukuran tetap, tidak membesar */
    max-height: 70vh; /* Maksimal 70% tinggi layar */
}

.mac-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    min-height: 48px;
}

.mac-dots {
    display: flex;
    gap: 8px;
}

.mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.copy-btn-top {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s;
    font-weight: 600;
}

.copy-btn-top:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.prompt-body-container {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    background: white;
}

.prompt-text-content {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
}

.action-btn-container {
    padding: 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.generate-btn-main {
    width: 100%;
    padding: 14px;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.generate-btn-main:hover {
    background: #059669;
}

/* Cursor Blink Animation */
.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: #10B981;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   IMPROVED COPY BUTTON STYLE
======================================== */
.copy-btn-top {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.copy-btn-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.copy-btn-top:active {
    transform: translateY(0);
}

.copy-btn-top svg {
    width: 16px;
    height: 16px;
}

.copy-btn-top.copied {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* ========================================
   PREVIEW PLACEHOLDER STATE
======================================== */
.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
}

.preview-placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.preview-placeholder-icon svg {
    width: 36px;
    height: 36px;
    color: #10B981;
}

.preview-placeholder h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.preview-placeholder p {
    font-size: 14px;
    color: #94A3B8;
    max-width: 220px;
    line-height: 1.6;
}

/* Pulse animation untuk icon */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.preview-placeholder-icon {
    animation: iconPulse 2s ease-in-out infinite;
}
/* ========================================
   INPUT TEXT FIELD (TANPA ARROW DROPDOWN)
======================================== */
.input-text-field {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0F172A;
    background-color: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.input-text-field:hover {
    border-color: #10B981;
}

.input-text-field:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-text-field::placeholder {
    color: #94A3B8;
}

/* Textarea version */
textarea.input-text-field {
    min-height: 100px;
    padding-top: 12px;
    resize: vertical;
}
/* ========================================
   SECTION NUMBER (HIJAU)
======================================== */
.section-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
/* ========================================
   FLOATING DECORATIONS (OFFER 1)
======================================== */
.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 20s ease-in-out infinite;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
    bottom: 20%;
    left: -80px;
    animation-delay: -5s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

.blob-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #059669 0%, #0EA5E9 100%);
    bottom: -50px;
    left: 30%;
    animation-delay: -15s;
}

@keyframes floatBlob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-blob {
        animation: none;
    }
}

/* ========================================
   PROGRESS BAR STICKY (OFFER 2)
======================================== */
.progress-bar-container {
    position: sticky;
    top: 73px;
    z-index: 45;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.progress-bar-wrapper {
    max-width: 768px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Garis penghubung background */
.progress-line-bg {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #E2E8F0;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 10px;
}

/* Garis penghubung aktif */
.progress-line-active {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Titik step */
.progress-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #94A3B8;
    transition: all 0.3s ease;
    cursor: default;
}

.progress-dot.active {
    border-color: #10B981;
    color: #10B981;
    background: #F0FDF4;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.progress-dot.completed {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-color: #10B981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.progress-dot.completed svg {
    width: 18px;
    height: 18px;
}

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #94A3B8;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.progress-label.active {
    color: #10B981;
}

.progress-label.completed {
    color: #059669;
}

/* Responsive */
@media (max-width: 768px) {
    .progress-bar-container {
        top: 65px;
        padding: 12px 16px;
    }
    
    .progress-dot {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .progress-label {
        font-size: 10px;
    }
}

@media (max-width: 640px) {
    .progress-bar-container {
        top: 60px;
        padding: 10px 12px;
    }
    
    .progress-dot {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .progress-bar-container {
        top: 57px;
        padding: 8px 10px;
    }
    
    .progress-label {
        display: none;
    }
    
    .progress-dot {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}

/* ========================================
   FIX: PASTIKAN PROGRESS BAR SELALU TERLIAT
======================================== */
@media (max-width: 1024px) {
    .progress-bar-container {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
}

/* ========================================
   TOAST NOTIFICATION
======================================== */
.toast-container {
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9998;
    width: 90%;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
    overflow: hidden;
}

.toast-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px 0;
}

.toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.error {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #DC2626;
}

.toast-icon.success {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    color: #059669;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast-content {
    flex: 1;
    padding-bottom: 2px;
}

.toast-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 3px;
}

.toast-message {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
}

.toast-progress {
    height: 3px;
    background: #F1F5F9;
    margin: 14px 20px 18px;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    border-radius: 4px;
}

.toast-progress-bar.error {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.toast-progress-bar.success {
    background: linear-gradient(90deg, #10B981, #34D399);
}

.toast-card.toast-exit {
    animation: toastExit 0.3s ease forwards;
}

@keyframes toastExit {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ========================================
   LONG-FORM INFO BANNER
======================================== */
.bg-blue-50 { background-color: #EFF6FF; }
.border-blue-200 { border-color: #BFDBFE; }
.text-blue-800 { color: #1E40AF; }
.text-blue-600 { color: #2563EB; }
.text-blue-500 { color: #3B82F6; }

/* ========================================
   KICK DEVICE NOTIFICATION MODAL
======================================== */
.kick-modal-content {
    padding: 40px 32px 32px;
    text-align: center;
}

.kick-icon-wrapper {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
}

.kick-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.kick-icon svg {
    width: 40px;
    height: 40px;
    color: #D97706;
}

.kick-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.3);
    animation: kickPulseRing 2s ease-out infinite;
    z-index: 1;
}

@keyframes kickPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

.kick-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px 0;
}

.kick-subtitle {
    font-size: 14px;
    color: #94A3B8;
    margin: 0 0 20px 0;
}

.kick-device-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: left;
}

.kick-device-label {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.kick-device-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kick-device-text::before {
    content: "📱";
    font-size: 16px;
}

.kick-reason {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.kick-countdown-wrapper {
    margin-bottom: 24px;
}

.kick-countdown-bar {
    width: 100%;
    height: 4px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.kick-countdown-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    border-radius: 10px;
    transition: width 1s linear;
}

.kick-countdown-text {
    font-size: 13px;
    color: #94A3B8;
    margin: 0;
}

.kick-countdown-text span {
    font-weight: 700;
    color: #D97706;
}

.kick-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.kick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.kick-btn:active {
    transform: translateY(0);
}

.kick-btn svg {
    width: 18px;
    height: 18px;
}

/* Override modal box style untuk kick modal */
#kickModal .info-modal-box {
    background: #FFFFFF;
    border: 1px solid #FDE68A;
    box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.1);
}

/* Override overlay untuk kick modal */
#kickModal {
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
    .kick-pulse {
        animation: none;
    }
}