/*===================================== 
YOU CAN WRIGHT CUSTOME CSS 
======================================*/

/* Admin Layout Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Sidebar */
.admin-sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: #34495e;
}

.admin-sidebar-header h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 20px;
}

.admin-sidebar-header p {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}

.admin-sidebar-nav {
    padding: 20px 0;
}

.admin-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-sidebar-nav li {
    margin: 0;
}

.admin-sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover {
    background-color: #34495e;
    color: #fff;
    border-left-color: #C2171B;
}

.admin-sidebar-nav a.active {
    background-color: #34495e;
    color: #fff;
    border-left-color: #C2171B;
    font-weight: bold;
}

.admin-sidebar-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.admin-main {
    margin-left: 250px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.admin-header {
    background-color: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-left h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user-info {
    color: #555;
    font-size: 14px;
}

.admin-user-info i {
    margin-right: 5px;
}

/* Content Area */
.admin-content {
    flex: 1;
    padding: 30px;
    background-color: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 200px;
    }
    
    .admin-main {
        margin-left: 200px;
    }
    
    .admin-content {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
}

/* Admin Login Button Centering */
.admin-login-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}