/* Common Styles for rahatov logs Admin Panel */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(63, 81, 181, 0.15) 0%, transparent 50%);
    display: flex;
    height: 100vh;
    overflow: hidden;
    color: #e0e0e0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-left {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #2196F3 0%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.user-menu:hover {
    background: rgba(33, 150, 243, 0.1);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
}

.user-menu.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    padding: 12px 20px;
    color: #e0e0e0;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 8px;
    margin: 4px;
}

.user-menu-item:hover {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.user-menu-item:first-child {
    margin-top: 0;
}

.user-menu-item:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding-top: 90px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    padding: 15px 20px 10px;
    font-size: 11px;
    color: #2196F3;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #b0b0b0;
    text-decoration: none;
    margin: 2px 10px;
    border-radius: 8px;
}

.sidebar-item:hover {
    background: rgba(33, 150, 243, 0.15);
    color: #fff;
    transform: translateX(5px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(63, 81, 181, 0.3) 100%);
    color: #fff;
    border-left: 3px solid #2196F3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    margin-top: 70px;
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: transparent;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
    background: linear-gradient(135deg, #2196F3 0%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #3F51B5 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Inputs */
.filter-input, .search-input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(10, 10, 10, 0.6);
    color: #e0e0e0;
    transition: all 0.3s;
}

.filter-input:focus, .search-input:focus {
    outline: none;
    border-color: #2196F3;
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.filter-input::placeholder, .search-input::placeholder {
    color: #666;
}

/* Select styles */
.filter-input select, .search-input select,
select.filter-input, select.search-input {
    padding: 12px 15px;
    padding-right: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(10, 10, 10, 0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e0e0e0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #e0e0e0;
    transition: all 0.3s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    box-sizing: border-box;
}

.filter-input select:focus, .search-input select:focus,
select.filter-input:focus, select.search-input:focus {
    outline: none;
    border-color: #2196F3;
    background-color: rgba(20, 20, 20, 0.8);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.filter-input select option, .search-input select option,
select.filter-input option, select.search-input option {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 10px;
}

/* Filters */
.filters {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 13px;
    color: #b0b0b0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.filters-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Cards */
.card, .player-card, .org-card, .profile-card, .info-section {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-online {
    background: #e8f5e9;
    color: #4caf50;
}

.status-offline {
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

/* Numbers should be bright green */
.number-value {
    color: #4CAF50 !important;
    font-weight: 600;
}

/* Nicknames should be dark blue */
.nickname-in-text {
    color: #1565C0 !important;
    font-weight: 600;
}

/* Don't apply number styling to input fields */
input.number-value,
textarea.number-value,
.filter-input .number-value,
.search-input .number-value {
    color: inherit;
    font-weight: inherit;
}

