:root {
    --simak-navy: #0f172a;
    --simak-blue: #2563eb;
    --simak-bg: #f8fafc;
    --simak-border: #e2e8f0;
    --simak-text: #1e293b;
    --simak-muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--simak-bg);
    color: var(--simak-text);
    margin: 0;
    font-size: 0.875rem; /* 14px */
}

/* Login Page Styles */
.login-container {
    display: flex;
    min-height: 100vh;
}

.login-left {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.login-right {
    flex: 1.2;
    background-color: var(--simak-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 3rem;
    position: relative;
}

.login-right-logo {
    position: absolute;
    top: 40px;
    text-align: center;
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 400px;
}

.simak-input {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--simak-border);
    background-color: #f1f5f9;
    transition: all 0.2s;
}

.simak-input:focus {
    outline: none;
    border-color: var(--simak-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.simak-btn-primary {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--simak-blue);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.simak-btn-primary:hover {
    background-color: #1d4ed8;
}

/* Dashboard Sidebar Styles */
.simak-sidebar {
    width: 260px;
    background-color: var(--simak-navy);
    color: #94a3b8;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.simak-sidebar.collapsed {
    width: 80px;
}

.simak-sidebar.collapsed .sidebar-header span,
.simak-sidebar.collapsed .sidebar-link span,
.simak-sidebar.collapsed .sidebar-link .arrow {
    display: none !important;
}

.simak-sidebar.collapsed .sidebar-header {
    padding: 0 0 2rem;
}

.simak-sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 0.75rem;
}

.simak-sidebar.collapsed .sidebar-link i {
    margin-right: 0;
}

.simak-sidebar.collapsed .sidebar-submenu {
    padding-left: 0;
}

.sidebar-header {
    padding: 0 1.5rem 1rem;
    text-align: center;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar for sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    margin-bottom: 0.15rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-left: 4px solid var(--simak-blue);
}

.sidebar-link i {
    width: 20px;
    margin-right: 10px;
    font-size: 1rem;
    text-align: center;
}



/* Dashboard Content Styles */
.simak-main {
    margin-left: 260px;
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.simak-main.collapsed {
    margin-left: 80px;
}

.simak-content {
    padding: 2rem;
    padding-bottom: 80px;
}

.simak-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--simak-border);
    position: sticky;
    top: 0;
    z-index: 100;
}



.simak-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--simak-border);
}

.simak-stat-label {
    color: var(--simak-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.simak-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--simak-text);
}

/* Utilities */
.simak-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 260px;
    background-color: var(--simak-bg);
    border-top: 1px solid var(--simak-border);
    z-index: 90;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.simak-main.collapsed .simak-footer {
    left: 80px;
}

.text-simak-blue { color: var(--simak-blue); }
.bg-simak-navy { background-color: var(--simak-navy); }

/* Responsive Login */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        overflow-x: hidden;
        width: 100vw;
    }
    
    .login-left {
        width: 100vw;
        padding: 2rem 1.5rem;
        min-height: 100vh;
        flex: none;
        box-sizing: border-box;
    }
    
    .login-right {
        display: none;
    }
    
    .form-group {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        box-sizing: border-box;
    }

    form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}
