/* OFS Bot Panel - Modern Tasarım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #F7931E;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --dark: #1F2937;
    --light: #F9FAFB;
    --gray: #6B7280;
    --border: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0F172A;
    color: #E2E8F0;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 107, 53, 0.1);
}

.sidebar-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 13px;
    color: #94A3B8;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    margin: 5px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 15px;
}

.sidebar-menu a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    border-left-color: #FF6B35;
}

.sidebar-menu a.active {
    background: rgba(255, 107, 53, 0.15);
    color: #FF6B35;
    border-left-color: #FF6B35;
    font-weight: 600;
}

.sidebar-menu a i {
    margin-right: 12px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.badge {
    background: #FF6B35;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: #0F172A;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 8px;
}

.page-header p {
    color: #94A3B8;
    font-size: 15px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #FF6B35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-card-icon.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.stat-card-icon.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.stat-card-icon.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
}

.stat-card-icon.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.stat-card-value {
    font-size: 36px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 5px;
}

.stat-card-label {
    color: #94A3B8;
    font-size: 14px;
    font-weight: 500;
}

/* Content Cards */
.content-card {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #F8FAFC;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-success {
    background: #10B981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #EF4444;
    color: white;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-warning {
    background: #F59E0B;
    color: white;
}

.btn-warning:hover {
    background: #D97706;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Bot List */
.bot-list {
    display: grid;
    gap: 15px;
}

.bot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border-left: 4px solid #6B7280;
    transition: all 0.3s;
}

.bot-item:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(5px);
    border-left-color: #FF6B35;
}

.bot-item.running {
    border-left-color: #10B981;
}

.bot-item.stopped {
    border-left-color: #EF4444;
}

.bot-item.error {
    border-left-color: #F59E0B;
}

.bot-info {
    flex: 1;
}

.bot-name {
    font-weight: 600;
    font-size: 16px;
    color: #F8FAFC;
    margin-bottom: 6px;
}

.bot-details {
    font-size: 13px;
    color: #94A3B8;
}

.bot-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
}

.bot-status.running {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.bot-status.stopped {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.bot-status.error {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
}

.bot-actions {
    display: flex;
    gap: 8px;
}

/* Notifications */
.notification-list {
    max-height: 600px;
    overflow-y: auto;
}

.notification-item {
    padding: 18px;
    border-left: 4px solid #6B7280;
    margin-bottom: 12px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(30, 41, 59, 0.8);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3B82F6;
}

.notification-item.ticket {
    border-left-color: #10B981;
}

.notification-item.alert {
    border-left-color: #F59E0B;
}

.notification-item.error {
    border-left-color: #EF4444;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notification-title {
    font-weight: 600;
    color: #F8FAFC;
    font-size: 15px;
}

.notification-time {
    font-size: 12px;
    color: #94A3B8;
}

.notification-message {
    font-size: 14px;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.notification-meta {
    font-size: 12px;
    color: #94A3B8;
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    color: #E2E8F0;
}

.table th,
.table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    background: rgba(15, 23, 42, 0.5);
    font-weight: 600;
    color: #F8FAFC;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover {
    background: rgba(30, 41, 59, 0.5);
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.5);
    color: #CBD5E1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #FF6B35;
    color: #FF6B35;
}

.filter-btn.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94A3B8;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #CBD5E1;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #E2E8F0;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: rgba(15, 23, 42, 1);
}

.form-group input::placeholder {
    color: #64748B;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}