:root {
    --primary-color: #1a237e;
    --secondary-color: #283593;
    --accent-color: #3949ab;
    --light-gray: #f5f7fa;
    --dark-text: #333;
    --light-text: #fff;
    --danger-color: #c62828;
    --success-color: #2e7d32;
    --warning-color: #f57c00;
    --info-color: #0277bd;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    margin: 0;
    padding: 0;
    color: var(--dark-text);
}

.edevlet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.edevlet-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.edevlet-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edevlet-logo {
    display: flex;
    align-items: center;
}

.edevlet-logo img {
    height: 40px;
    margin-right: 15px;
}

.edevlet-logo h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.edevlet-user-menu {
    display: flex;
    align-items: center;
}

.edevlet-user-info {
    margin-right: 20px;
    text-align: right;
}

.edevlet-user-name {
    font-weight: 600;
    font-size: 16px;
}

.edevlet-user-role {
    font-size: 12px;
    opacity: 0.8;
}

.edevlet-logout {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.edevlet-logout:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.edevlet-logout i {
    margin-right: 8px;
}

.edevlet-sidebar {
    width: 260px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    height: calc(100vh - 70px);
    position: fixed;
    top: 70px;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    transition: all 0.3s;
}

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

.edevlet-sidebar-item {
    margin: 5px 0;
}

.edevlet-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.edevlet-sidebar-link:hover {
    background-color: rgba(26, 35, 126, 0.05);
    color: var(--primary-color);
}

.edevlet-sidebar-link.active {
    background-color: rgba(26, 35, 126, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.edevlet-sidebar-icon {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.edevlet-content {
    margin-left: 260px;
    padding: 20px;
    transition: all 0.3s;
}

.edevlet-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.edevlet-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edevlet-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.edevlet-card-title i {
    margin-right: 10px;
}

.edevlet-card-body {
    padding: 20px;
}

.edevlet-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: rgba(0, 0, 0, 0.02);
}

.edevlet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.edevlet-btn i {
    margin-right: 8px;
}

.edevlet-btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.edevlet-btn-primary:hover {
    background-color: var(--accent-color);
}

.edevlet-btn-danger {
    background-color: var(--danger-color);
    color: var(--light-text);
}

.edevlet-btn-danger:hover {
    background-color: #d32f2f;
}

.edevlet-btn-success {
    background-color: var(--success-color);
    color: var(--light-text);
}

.edevlet-btn-success:hover {
    background-color: #388e3c;
}

.edevlet-table {
    width: 100%;
    border-collapse: collapse;
}

.edevlet-table th {
    background-color: rgba(26, 35, 126, 0.05);
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
}

.edevlet-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.edevlet-table tr:last-child td {
    border-bottom: none;
}

.edevlet-table tr:hover {
    background-color: rgba(26, 35, 126, 0.02);
}

.edevlet-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.edevlet-badge-success {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--success-color);
}

.edevlet-badge-danger {
    background-color: rgba(198, 40, 40, 0.1);
    color: var(--danger-color);
}

.edevlet-badge-warning {
    background-color: rgba(245, 124, 0, 0.1);
    color: var(--warning-color);
}

.edevlet-badge-info {
    background-color: rgba(2, 119, 189, 0.1);
    color: var(--info-color);
}

.edevlet-form-group {
    margin-bottom: 20px;
}

.edevlet-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.edevlet-form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.edevlet-form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.edevlet-form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.edevlet-form-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.edevlet-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.edevlet-alert i {
    margin-right: 10px;
    font-size: 18px;
}

.edevlet-alert-success {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.edevlet-alert-danger {
    background-color: rgba(198, 40, 40, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.edevlet-alert-warning {
    background-color: rgba(245, 124, 0, 0.1);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.edevlet-alert-info {
    background-color: rgba(2, 119, 189, 0.1);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

.edevlet-notification {
    position: relative;
}

.edevlet-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edevlet-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.edevlet-notification-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edevlet-notification-title {
    font-weight: 600;
    color: var(--primary-color);
}

.edevlet-notification-clear {
    font-size: 12px;
    color: var(--primary-color);
    cursor: pointer;
}

.edevlet-notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.edevlet-notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.3s;
}

.edevlet-notification-item:last-child {
    border-bottom: none;
}

.edevlet-notification-item:hover {
    background-color: rgba(26, 35, 126, 0.02);
}

.edevlet-notification-icon {
    margin-right: 12px;
    width: 36px;
    height: 36px;
    background-color: rgba(26, 35, 126, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edevlet-notification-content {
    flex: 1;
}

.edevlet-notification-message {
    font-size: 14px;
    margin-bottom: 5px;
}

.edevlet-notification-time {
    font-size: 12px;
    color: #999;
}

.edevlet-notification-unread {
    background-color: rgba(26, 35, 126, 0.05);
}

.edevlet-notification-unread .edevlet-notification-message {
    font-weight: 600;
}

.edevlet-notification-footer {
    padding: 12px 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.edevlet-notification-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.edevlet-notification.show .edevlet-notification-dropdown {
    display: block;
}

@media (max-width: 992px) {
    .edevlet-sidebar {
        width: 70px;
    }
    
    .edevlet-sidebar-link {
        justify-content: center;
        padding: 12px 0;
    }
    
    .edevlet-sidebar-text {
        display: none;
    }
    
    .edevlet-sidebar-icon {
        margin-right: 0;
        font-size: 20px;
    }
    
    .edevlet-content {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .edevlet-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .edevlet-logo {
        margin-bottom: 10px;
    }
    
    .edevlet-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }
    
    .edevlet-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
    }
    
    .edevlet-sidebar-item {
        flex: 1;
        min-width: 80px;
        margin: 0;
    }
    
    .edevlet-sidebar-link {
        flex-direction: column;
        padding: 10px 5px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .edevlet-sidebar-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }
    
    .edevlet-sidebar-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .edevlet-sidebar-text {
        display: block;
        font-size: 12px;
    }
    
    .edevlet-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .edevlet-notification-dropdown {
        width: 280px;
        right: -100px;
    }
}
