:root {
    --bero-bg-primary: #f8fafc;
    --bero-bg-secondary: #fff;
    --bero-primary: #6366f1;
    --bero-primary-dark: #4f46e5;
    --bero-success: #10b981;
    --bero-danger: #ef4444;
    --bero-warning: #f59e0b;
    --bero-info: #3b82f6;
    --bero-text-primary: #1e293b;
    --bero-text-secondary: #6c7380;
    --bero-border: #e2e8f0;
    --bero-radius: 1rem;
    --bero-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
    --bero-shadow-md: 0 4px 18px 0 rgb(0 0 0 / 0.07);
}

body {
    background: var(--bero-bg-primary);
    color: var(--bero-text-primary);
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    min-height: 100vh;
}

/* Sidebar - მენიუ */
.bero-menu-item {
    color: #6c7380;
    background: none;
    border-radius: 7px;
    margin: 2px 2px;
    padding: 10px 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}
.bero-menu-item:hover {
    background: #f3f4fa;
    color: #6366f1;
}
.bero-menu-item.active,
.bero-menu-item.active:hover,
.bero-menu-item.active:focus {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff !important;
    font-weight: 700;
}
.bero-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    border-radius: 3px;
    background: #fff;
}
.bero-menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: inherit;
}
.bero-menu-item.active i,
.bero-menu-item.active:hover i {
    color: #fff;
}

/* Cards */
.bero-card {
    background: var(--bero-bg-secondary);
    border-radius: var(--bero-radius);
    padding: 1.5rem;
    box-shadow: var(--bero-shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--bero-border);
    transition: all 0.3s;
}
.bero-card:hover {
    box-shadow: var(--bero-shadow-md);
    transform: translateY(-2px);
}
.bero-card-header {
    background: linear-gradient(135deg, var(--bero-primary) 0%, var(--bero-primary-dark) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--bero-radius) var(--bero-radius) 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bero-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bero-text-primary);
}

/* Buttons */
.bero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--bero-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}
.bero-btn-primary {
    background: var(--bero-primary);
    color: white;
}
.bero-btn-primary:hover {
    background: var(--bero-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.bero-btn-success {
    background: var(--bero-success);
    color: white;
}
.bero-btn-danger {
    background: var(--bero-danger);
    color: white;
}
.bero-btn-secondary {
    background: var(--bero-bg-primary);
    color: var(--bero-text-primary);
    border: 1px solid var(--bero-border);
}
.bero-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 13px;
}

/* Tables */
.bero-table {
    width: 100%;
    background: white;
    border-radius: var(--bero-radius);
    overflow: hidden;
    box-shadow: var(--bero-shadow-sm);
}
.bero-table table {
    width: 100%;
    border-collapse: collapse;
}
.bero-table thead {
    background: var(--bero-bg-primary);
}
.bero-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bero-text-secondary);
    border-bottom: 2px solid var(--bero-border);
}
.bero-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f5;
    color: var(--bero-text-primary);
    font-size: 14px;
}
.bero-table tbody tr:hover {
    background: var(--bero-bg-primary);
}
.bero-table tbody tr:last-child td {
    border-bottom: none;
}

/* Forms */
.bero-form-group {
    margin-bottom: 1.25rem;
}
.bero-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 13px;
    color: var(--bero-text-primary);
}
.bero-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--bero-border);
    border-radius: var(--bero-radius);
    font-size: 14px;
    transition: all 0.2s;
    background: white;
}
.bero-input:focus {
    outline: none;
    border-color: var(--bero-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.bero-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--bero-border);
    border-radius: var(--bero-radius);
    font-size: 14px;
    background: white;
    cursor: pointer;
}
.bero-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--bero-border);
    border-radius: var(--bero-radius);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

/* Badges */
.bero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bero-status-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--bero-success);
}
.bero-status-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--bero-danger);
}
.bero-status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--bero-warning);
}
.bero-status-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--bero-info);
}

/* Stats Card */
.bero-stat-card {
    background: white;
    border-radius: var(--bero-radius);
    padding: 1.5rem;
    box-shadow: var(--bero-shadow-sm);
    border-left: 4px solid var(--bero-primary);
    transition: all 0.3s;
}
.bero-stat-card:hover {
    box-shadow: var(--bero-shadow-md);
    transform: translateX(4px);
}
.bero-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--bero-text-primary);
    margin-bottom: 0.5rem;
}
.bero-stat-label {
    font-size: 13px;
    color: var(--bero-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Grid */
.bero-grid {
    display: grid;
    gap: 1.5rem;
}
.bero-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.bero-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.bero-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.bero-main {
    min-height: 85vh;
}
/* გვერდის სათაური */
.bero-page-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bero-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bero-text-primary, #1e293b);
}
.bero-alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: #f3f6fd;
    color: #3b4863;
    margin-bottom: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(66,90,233,0.04);
}
.bero-alert-info   { border-left: 4px solid var(--bero-primary); }
.bero-alert-danger { border-left: 4px solid var(--bero-danger);   background: #fff2f3; color: #a94442;}
.bero-alert-success{ border-left: 4px solid var(--bero-success);  background: #f3fff7; color: #1a997b;}
.bero-alert-warning{ border-left: 4px solid var(--bero-warning);  background: #fffbea; color: #a8840b;}
.bero-content-container {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 6px 38px rgba(136,144,181,0.05);
    min-height: 420px;
    margin-bottom: 2.5rem;
}
/* Lang drop-down */
.bero-lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}
.bero-lang-btn {
    background: transparent;
    border: none;
    color: #6366f1;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 15px 6px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.bero-lang-btn:hover {
    background: #edeffc;
}
.bero-lang-list {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 8px;
    min-width: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    z-index: 100;
    list-style: none;
    padding-left: 0;
}
.bero-lang-dropdown.open .bero-lang-list {
    display: block;
}
.bero-lang-list li {
    list-style: none;
}
.bero-lang-list a {
    display: block;
    padding: 10px 16px;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.bero-lang-list a:hover {
    background: #f3f4fa;
    color: #6366f1;
}
/* მობილური */
@media (max-width: 900px) {
    .bero-content-container { padding: 1rem; }
    .bero-page-title { font-size: 1.2rem; }
}


.dashtask {
    text-align: center;
    margin: 10px 0 18px 0;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.2s;
}
.dashtask img {
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 20px;
    background: #f5f7ff;
    box-shadow: 0 2px 8px rgba(85,100,230,0.11);
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: box-shadow 0.2s;
}
.dashtask:hover img {
    box-shadow: 0 8px 21px rgba(99,102,241,0.15);
}
.dashtask a {
    color: #646dac;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.dashtask:hover a,
.dashtask a:focus {
    color: var(--bero-primary);
}
.dashtask br { display: none; }
