/* Base utilities — light dashboard */
body {
    background-color: #f4f7fb;
    color: #0f172a;
}

.glass-panel {
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(12, 26, 58, 0.02), 0 12px 32px rgba(12, 26, 58, 0.06);
    border-radius: 24px;
}

.glass-panel:hover {
    border-color: transparent;
    transform: translateY(-2px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 8px rgba(12, 26, 58, 0.04), 0 20px 48px rgba(12, 26, 58, 0.08);
}

.bg-striped {
    background: repeating-linear-gradient(
      45deg,
      rgba(45, 212, 191, 0.08),
      rgba(45, 212, 191, 0.08) 4px,
      transparent 4px,
      transparent 8px
    );
}

.text-gradient {
    background: linear-gradient(to right, #ff6b35, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    position: relative;
    background: #ff6b35;
    border: 1px solid #ff6b35;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #e85a24;
    border-color: #e85a24;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.28);
}

.animate-pulse-slow {
    animation: pulseSlow 8s infinite alternate;
}

@keyframes pulseSlow {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.1); opacity: 0.3; }
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Auth form — explicit spacing so icons never overlap input text */
.auth-field-wrap {
    position: relative;
}

.auth-field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
    font-size: 1.125rem;
    line-height: 1;
}

.auth-input,
.auth-input.ui-input,
input.auth-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem 0.75rem 3rem !important;
    color: #0f172a !important;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.35);
}

.auth-input--password,
.auth-input.auth-input--password,
input.auth-input.auth-input--password {
    padding-right: 3.25rem !important;
}

.auth-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.auth-password-toggle:hover {
    color: #0f172a;
}

.auth-login-notice {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(255, 251, 235, 0.95);
    color: #92400e;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
}

.auth-login-notice i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1rem;
}

.auth-login-notice.hidden {
    display: none;
}

.landing-nav-login {
    color: #334155;
    font-weight: 600;
}

/* GPT Asistan — keep chat input always interactive */
[data-ai-chat-input] {
    pointer-events: auto !important;
    cursor: text !important;
    color: #0f172a !important;
    background: #ffffff !important;
}

[data-ai-chat-input]:disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: text !important;
}
