/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Stili */
.top-header {
    background-color: #ffffff;
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #4285f4;
    text-decoration: none;
    font-size: 18px;
}

.logo i {
    margin-right: 8px;
    font-size: 20px;
}

.search-container {
    flex: 1;
    padding: 0 20px;
}

.search-box {
    background-color: #f5f5f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    max-width: 300px;
}

.search-box i {
    color: #757575;
    margin-right: 10px;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px 0;
    width: 100%;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.notification {
    margin-right: 20px;
}

.notification a {
    color: #5f6368;
    font-size: 18px;
}

.profile-icon {
    display: flex;
    text-decoration: none;
}

.avatar {
    width: 36px;
    height: 36px;
    background-color: #4285f4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Sidebar Stili */
.sidebar {
    width: 240px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    height: calc(100vh - 64px);
    top: 64px;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 10px 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #5f6368;
    text-decoration: none;
    transition: background-color 0.2s;
    border-radius: 0 25px 25px 0;
    margin-right: 10px;
}

.sidebar-nav li a:hover {
    background-color: #f5f5f5;
    color: #4285f4;
}

.sidebar-nav li a.active {
    background-color: #e8f0fe;
    color: #4285f4;
    font-weight: 500;
}

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

.logout-item {
    margin-top: 20px;
}

.logout-item a {
    color: #d93025 !important;
}

.logout-item a:hover {
    background-color: #fee8e7;
}

/* Content Stili */
.content {
    flex: 1;
    padding: 20px;
    margin-left: 240px;
    margin-top: 64px;
}

/* Dashboard Başlık */
.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-header h1 {
    font-size: 24px;
    color: #202124;
    font-weight: 500;
}

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

.stat-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-card-header {
    color: #5f6368;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.stat-card-number {
    font-size: 32px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
}

.stat-card-trend {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.stat-card-trend.positive {
    color: #0f9d58;
}

.stat-card-trend.neutral {
    color: #f9ab00;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.blue {
    background-color: #e8f0fe;
    color: #4285f4;
}

.green {
    background-color: #e6f4ea;
    color: #0f9d58;
}

.yellow {
    background-color: #fef7e0;
    color: #f9ab00;
}

.red {
    background-color: #fce8e6;
    color: #d93025;
}

/* Tablo Stili */
.table-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.table-header h3 {
    font-size: 16px;
    color: #202124;
    font-weight: 500;
}

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

.data-table th,
.data-table td {
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f4;
}

.data-table th {
    font-weight: 500;
    color: #5f6368;
    font-size: 13px;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
}

.status-active {
    background-color: #e6f4ea;
    color: #0f9d58;
}

.status-pending {
    background-color: #fef7e0;
    color: #f9ab00;
}

.status-draft {
    background-color: #f1f3f4;
    color: #5f6368;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.edit-btn {
    background-color: #e8f0fe;
    color: #4285f4;
}

.edit-btn:hover {
    background-color: #d2e3fc;
}

.delete-btn {
    background-color: #fce8e6;
    color: #d93025;
}

.delete-btn:hover {
    background-color: #fad2cf;
}

/* Login Sayfası */
.login-container {
    width: 400px;
    margin: 100px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #202124;
}

.login-container p {
    text-align: center;
    margin-bottom: 30px;
    color: #5f6368;
}

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

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

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.2s;
}

.form-control:focus {
    border-color: #4285f4;
    outline: none;
}

.form-control.is-invalid {
    border-color: #d93025;
}

.invalid-feedback {
    color: #d93025;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #4285f4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #3367d6;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background-color: #d93025;
}

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

/* Alert Mesajları */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    background-color: #e6f4ea;
    border: 1px solid #ceead6;
    color: #0f9d58;
}

.alert-danger {
    background-color: #fce8e6;
    border: 1px solid #fad2cf;
    color: #d93025;
}

/* Profil Sayfası */
.profile-content,
.settings-content {
    max-width: 800px;
}

/* Card Bileşeni */
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.card h3 {
    margin-bottom: 20px;
    color: #202124;
    font-weight: 500;
    font-size: 18px;
}

/* Log Viewer */
.log-container {
    background-color: #202124;
    color: #e8eaed;
    font-family: 'Courier New', monospace;
    padding: 16px;
    border-radius: 8px;
    white-space: pre-wrap;
    max-height: 500px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
}

.log-tabs {
    margin-bottom: 16px;
    display: flex;
}

.log-tabs a {
    padding: 8px 16px;
    background-color: #f1f3f4;
    margin-right: 8px;
    border-radius: 20px;
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    transition: all 0.2s;
}

.log-tabs a.active {
    background-color: #4285f4;
    color: #fff;
}

.log-actions {
    margin: 16px 0;
}

/* Responsive Tasarım */
@media (max-width: 991px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar-nav li a span {
        display: none;
    }
    
    .sidebar-nav li a i {
        margin-right: 0;
        font-size: 18px;
    }
    
    .content {
        margin-left: 60px;
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
}