@import url('variables.css');
@import url('layout.css');
@import url('components.css');

/* Custom Page-Specific Styles */

/* Login Page Details */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(52, 211, 153, 0.05) 0%, transparent 40%),
                var(--bg-primary);
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.login-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Charts Wrapper */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Search and Filters Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-box input {
    padding-left: 38px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-actions {
    display: flex;
    gap: 12px;
}

/* Item details layouts */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 16px;
}

.detail-value.highlight {
    color: var(--primary);
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

/* Dashboard Warnings / Reorder alerts */
.warning-pulse {
    animation: warningPulse 2s infinite;
}

@keyframes warningPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}
