:root {
    --b23-primary: #64c5b1;
    --b23-dark: #2c3e50;
    --b23-light: #ffffff;
    --b23-muted: #7f8c8d;
    --b23-bg-light: #f9f9f9;
    --b23-border: #dfe6e9;
    --b23-danger: #e74c3c;
}

/* Layout & Typography */
body, .b23-body {
    background-color: #ecf0f1;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--b23-dark);
}

.b23-header {
    font-weight: 700;
    font-size: 2rem;
    color: var(--b23-dark);
    border-bottom: 3px solid var(--b23-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.b23-dashboard {
    background: #f7f9fa;
    min-height: 80vh;
}

.b23-main-content {
    padding: 2rem;
    background-color: var(--b23-bg-light);
    flex-grow: 1;
}

/* Card */
.b23-card {
    background: var(--b23-light);
    border-radius: 12px;
    border: 1px solid var(--b23-border);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    color: var(--b23-dark);
    transition: box-shadow 0.3s ease;
}

.b23-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.b23-text {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Welcome Page */
.b23-welcome-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--b23-primary), #4aa896);
    padding: 1rem;
    text-align: center;
}

.b23-welcome-card {
    background: var(--b23-light);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 420px;
    width: 100%;
}

.b23-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--b23-dark);
    margin-bottom: 0.75rem;
}

.b23-welcome-subtitle {
    font-size: 1.15rem;
    color: #34495e;
    margin-bottom: 2rem;
}

/* Button */
.b23-btn-group a {
    margin: 0 0.5rem;
    padding: 0.7rem 1.8rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.b23-btn,
.b23-btn-primary {
    background-color: var(--b23-primary);
    color: var(--b23-light);
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.b23-btn-primary:hover {
    background-color: #4aa896;
}

.b23-btn-outline {
    border: 2px solid var(--b23-primary);
    color: var(--b23-primary);
    background: transparent;
}

.b23-btn-outline:hover {
    background-color: var(--b23-primary);
    color: var(--b23-light);
}

.b23-btn-logout {
    background: var(--b23-danger);
    color: var(--b23-light);
    border-radius: 5px;
}

/* Auth */
.b23-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ecf0f1;
    padding: 2rem;
}

.b23-auth-card {
    background: var(--b23-light);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
}

.b23-auth-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--b23-dark);
}

.b23-form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.b23-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.b23-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.b23-input:focus {
    border-color: var(--b23-primary);
    outline: none;
}

.b23-error {
    font-size: 0.85rem;
    color: var(--b23-danger);
    margin-top: 0.25rem;
}

.b23-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--b23-dark);
    gap: 0.5rem;
}

.b23-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.b23-link {
    font-size: 0.9rem;
    color: var(--b23-muted);
    text-decoration: none;
}

.b23-link:hover {
    text-decoration: underline;
}

.b23-alert-success {
    background-color: #e9fdf3;
    border: 1px solid #b9f0d3;
    color: #2e7d5e;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Sidebar & Layout */
.b23-app-body {
    display: flex;
    margin: 0;
}

.b23-sidebar {
    width: 220px;
    background-color: #64c5b1;
    color: white;
    height: 100vh;
    position: fixed;
    padding: 1.5rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.b23-sidebar-header {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    letter-spacing: 1px;
}

.b23-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b23-sidebar-menu li {
    margin-bottom: 1rem;
}

.b23-sidebar-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.b23-sidebar-menu a:hover,
.b23-sidebar-menu a.active {
    background-color: #50b3a2;
}

.b23-main-wrapper {
    margin-left: 220px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Topbar */
.b23-topbar {
    background-color: var(--b23-light);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.b23-topbar-left h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--b23-dark);
}
