@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    color-scheme: light;
    /* font-family: "Poppins", sans-serif !important; */
    font-family: "Inter", sans-serif !important;
}

body {
    background: #f8f9fa;
    font-family: "Inter", sans-serif !important;
    margin: 0;
    color: #202124;
    font-size: 14px;
    letter-spacing: 0.01em;
}

button {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 10px 16px !important;
}

button svg {
    width: 16px !important;
    height: 16px !important;
}

/* Sidebar */
.drive-sidebar {
    background: #ffffff;
    min-width: 260px;
    max-width: 300px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 0 16px 0;
    border-right: 1px solid #e8eaed;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    box-shadow: 2px 0 16px 0 rgba(0, 0, 0, 0.1);
    transition: background 0.25s;
}

.sidebar-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #202124;
    padding: 0 32px 18px 32px;
    letter-spacing: 0.5px;
    opacity: 0.96;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #5f6368;
    text-decoration: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: .92rem;
    transition: 0.18s;
    margin: 3px 10px;
    border: 1px solid white;
    outline: none;
}

.sidebar-btn:hover,
.sidebar-btn:focus {
    background: rgba(210, 31, 38, 0.08);
    color: #d21f26;
    box-shadow: 0 1px 4px rgba(210, 31, 38, 0.15);
    border: 1px solid #d21f258f;
}

.sidebar-active {
    background: rgba(210, 31, 38, 0.12);
    color: #d21f26;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(210, 31, 38, 0.15);
    border: 1px solid #d21f258f;
}

.sidebar-section {
    margin-top: auto;
    color: #5f6368;
    font-size: 0.97rem;
    padding: 0 16px;
    opacity: 0.85;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.progress-bar-outer {
    background: #e8eaed;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.progress-bar-inner {
    background: #d21f26;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Main Content */
.drive-main {
    margin-left: 260px;
    min-height: 100vh;
    background: #f8f9fa;
    transition: margin 0.25s;
    display: flex;
    flex-direction: column;
}

.drive-appbar {
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.drive-appbar.users {
    flex-direction: row;
}

.drive-appbar.users .appbar-left {
    justify-content: start;
}

.drive-appbar.users .appbar-right.role {
    margin: 0;
}

.appbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 500;
}

.text-accent {
    color: #d21f26;
}

.appbar-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.appbar-title {
    color: #202124;
    font-weight: 600;
    font-size: 1.1rem;
}

.appbar-center {
    flex: 1;
    max-width: 400px;
    margin: 0 24px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 24px;
    background: #ffffff;
    color: #202124;
    font-size: 1rem;
    transition: border 0.18s, box-shadow 0.18s;
    outline: none;
}

.search-input:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
}

.appbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 900px) {
    .appbar-right {
        gap: 8px;
    }

    .appbar-title {
        font-size: 1.2rem;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.7rem;
        min-height: 28px;
    }
}

@media (max-width: 600px) {
    .appbar-right {
        gap: 4px;
        flex-wrap: wrap;
    }

    .appbar-title {
        font-size: 1.1rem;
    }

    .btn-sm {
        padding: 5px 10px;
        font-size: 0.65rem;
        min-height: 26px;
    }

    .btn-sm i {
        width: 14px;
        height: 14px;
    }
}

/* .drive-content {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
} */

.drive-content {
    padding: 24px 16px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Small devices (≥576px) */
@media (min-width: 576px) {
    .drive-content {
        max-width: 540px;
    }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {
    .drive-content {
        max-width: 720px;
    }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {
    .drive-content {
        max-width: 960px;
    }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {
    .drive-content {
        max-width: 1140px;
    }
}

/* Extra extra large devices (≥1400px) */
@media (min-width: 1400px) {
    .drive-content {
        max-width: 1320px;
    }
}


/* File List Views */
.file-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 32px 24px;
    animation: fadeIn 0.5s;
}

.file-list.list-view {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.drive-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid #e8eaed;
    color: #202124;
    padding: 32px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.18s, border 0.18s, box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    opacity: 0.97;
    will-change: transform, box-shadow;
}

.drive-card:hover {
    border: 2px solid #d21f26;
    background: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(210, 31, 38, 0.15);
    transform: translateY(-2px) scale(1.025);
    z-index: 2;
}

.drive-card.selected,
.drive-card.as-list.selected {
    border: 2px solid #d21f26;
    background: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(210, 31, 38, 0.15);
}

.drive-card .file-select {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 20px;
    height: 20px;
    transition: box-shadow 0.18s;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}

.drive-card .file-select:focus {
    outline: 2px solid #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.2);
}

.drive-card .file-icon {
    margin-bottom: 18px;
    color: #5f6368;
    width: 48px;
    height: 48px;
    opacity: 0.92;
    transition: color 0.18s, opacity 0.18s;
}

.drive-card .file-name {
    font-size: 1.08rem;
    font-weight: 500;
    color: #202124;
    text-align: center;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    opacity: 0.98;
}

.drive-card .file-size {
    font-size: 0.97rem;
    color: #5f6368;
    margin-bottom: 16px;
}

.drive-card .btn {
    width: 100%;
    margin-top: auto;
}

.drive-card .btn:active {
    transform: scale(0.98);
}

/* List View Cards */
.drive-card.as-list {
    flex-direction: row;
    align-items: center;
    padding: 0 18px;
    height: 64px;
    min-height: 64px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: none;
    border: 2px solid #e8eaed;
    transition: background 0.18s, border 0.18s;
}

.drive-card.as-list .file-select {
    position: static;
    margin-right: 18px;
    top: auto;
    left: auto;
}

.drive-card.as-list .file-icon {
    margin: 0 18px 0 0;
    width: 32px;
    height: 32px;
}

.drive-card.as-list .file-name {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.drive-card.as-list .file-size {
    margin: 0 18px 0 5px;
    font-size: 0.87rem;
    color: #5f6368;
    min-width: 80px;
    text-align: right;
}

.drive-card.as-list .btn {
    width: auto;
    min-width: 90px;
    margin: 0;
}

.drive-card.as-list:hover {
    background: #f8f9fa;
    border: 2px solid #d21f26;
    box-shadow: 0 8px 32px 0 rgba(210, 31, 38, 0.15);
    transform: scale(1.01);
}

/* Checkbox */
.checkbox-custom {
    accent-color: #d21f26;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #d21f26;
    background: #ffffff;
    cursor: pointer;
    margin: 0;
    transition: box-shadow 0.18s, border 0.18s;
}

.checkbox-custom:checked {
    background-color: #d21f26;
    border-color: #d21f26;
}

.checkbox-custom:focus {
    outline: 2px solid #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.2);
}

/* Buttons - Standardized */
.btn {
    background: #f1f3f4;
    color: #202124;
    border-radius: 20px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.8rem;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    outline: none;
    min-height: 40px;
    line-height: 1.2;
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.2);
}

.btn-accent {
    background: #d21f26;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(210, 31, 38, 0.3);
}

.btn-accent:hover,
.btn-accent:focus {
    background: #b01a1f;
    color: #ffffff;
    box-shadow: 0 4px 16px 0 rgba(210, 31, 38, 0.4);
}

.btn-warning {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(245, 158, 11, 0.3);
}

.btn-warning:hover,
.btn-warning:focus {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 4px 16px 0 rgba(245, 158, 11, 0.4);
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(220, 38, 38, 0.3);
}

.btn-danger:hover,
.btn-danger:focus {
    background: #b91c1c;
    color: #ffffff;
    box-shadow: 0 4px 16px 0 rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background: none;
    border: 1.5px solid #dadce0;
    color: #5f6368;
    opacity: 0.92;
}

.btn-outline:hover,
.btn-outline:focus {
    background: #f1f3f4;
    color: #d21f26;
    border-color: #d21f26;
    opacity: 1;
}

.btn-sm {
    font-size: 0.75rem;
    padding: 8px 16px;
    border-radius: 16px;
    min-height: 32px;
}

/* Görünüm butonları için özel stiller */
.view-toggle-btn {
    position: relative;
    transition: all 0.2s ease;
}

.view-toggle-btn.active {
    background: #d21f26 !important;
    color: #ffffff !important;
    border-color: #d21f26 !important;
    box-shadow: 0 2px 8px 0 rgba(210, 31, 38, 0.3) !important;
    font-weight: 600;
}

.view-toggle-btn.active:hover {
    background: #b01a1f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px 0 rgba(210, 31, 38, 0.4) !important;
}

.view-toggle-btn:not(.active):hover {
    background: #f1f3f4;
    color: #d21f26;
    border-color: #d21f26;
    opacity: 1;
}

.w-100 {
    width: 100%;
}

/* Alerts */
.alert {
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 1.01rem;
    background: #f1f3f4;
    color: #d93025;
    border: 1.5px solid #fad2cf;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    opacity: 0.97;
    margin-bottom: 1rem;
}

.alert.error {
    background: #fce8e6;
    color: #d93025;
    border-color: #fad2cf;
}

.alert.success {
    background: #e6f4ea;
    color: #137333;
    border-color: #c6e7c6;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 769px) {
    .drive-main {
        margin-left: 0;
    }

    .drive-sidebar {
        position: static;
        min-width: 100vw;
        max-width: 100vw;
        height: auto;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #e8eaed;
        padding: 12px 0;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-title {
        padding: 0 18px 0 18px;
    }

    .sidebar-section {
        padding: 0 18px;
    }

    .file-list.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 18px 10px;
    }

    .drive-content {
        padding: 18px 8px 0 8px;
    }

    .drive-appbar {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .drive-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        border-right: 1px solid #e8eaed;
        border-bottom: none;
        padding: 20px 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    }

    .drive-sidebar.sidebar-open {
        left: 0;
    }

    .drive-main {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-nav {
        flex: 1;
        justify-content: flex-start;
        margin: 20px 0;
    }

    .sidebar-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 4px 0;
        border-radius: 8px;
    }

    .sidebar-btn i {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }

    .sidebar-section {
        padding: 0 20px;
        margin-top: auto;
    }
}

@media (max-width: 700px) {
    .drive-sidebar {
        padding: 16px 0;
    }

    .sidebar-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .sidebar-btn i {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .sidebar-title,
    .sidebar-section {
        padding: 0 12px;
    }

    .sidebar-nav {
        flex: 1;
        justify-content: flex-start;
        margin: 20px 0;
    }

    .sidebar-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 4px 0;
        border-radius: 8px;
    }

    .sidebar-btn i {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }

    .sidebar-section {
        padding: 0 20px;
        margin-top: auto;
    }

    .file-list.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px 8px;
    }

    .drive-content {
        padding: 12px 6px 0 6px;
    }

    .drive-appbar {
        padding: 0 8px;
        height: 56px;
        flex-wrap: wrap;
        min-height: 56px;
        flex-direction: column;
    }

    .appbar-left {
        flex: 1;
        min-width: 0;
        padding: 10px;
        width: 100%;
        justify-content: space-around;
        box-sizing: border-box;
    }

    .appbar-center {
        display: none;
    }

    .search-input {
        display: none;
    }

    .appbar-right {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 18px !important;
        margin-bottom: 12px;
    }

    .appbar-title {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: auto;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.7rem;
        min-height: 32px;
    }

    .btn-sm {
        padding: 4px 8px;
        font-size: 0.65rem;
        min-height: 26px;
    }

    .btn-sm i {
        width: 12px;
        height: 12px;
    }

    .drive-content {
        overflow: scroll;
        box-sizing: border-box;
        width: 100%;
    }

    .drive-card .file-select {
        width: 15px;
        height: 15px;
        margin-right: 8px;
    }

    .drive-card.as-list .file-icon {
        height: 24px;
        width: 24px;
        margin-right: 7px;
    }

    .drive-card.as-list .file-size {
        text-align: start;
        font-size: .85em;
    }

    .drive-card.as-list .file-name {
        display: flex;
        justify-content: center;
        align-items: start;
        width: 100%;
        flex-direction: column;
        font-size: .9em;
    }

    .drive-card .file-icon {
        height: 28px;
        width: 28px;
    }

    .drive-card .btn,
    .drive-card.as-list .btn {
        min-width: 60px;
    }

    .drive-card .btn svg,
    .drive-card.as-list .btn svg {
        width: 16px;
        height: 16px;
    }

    .drive-card div:nth-child(2) {
        display: none;
    }

    footer div:nth-child(1) {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .drive-appbar {
        padding: 0 6px;
        height: auto;
        min-height: 48px;
        gap: 8px;
    }

    .appbar-left {
        flex: 1;
        min-width: 0;
    }

    .appbar-title {
        font-size: 0.85rem;
    }

    .appbar-right {
        flex-wrap: wrap;
        gap: 3px;
        justify-content: center;
    }

    .btn {
        padding: 6px 10px;
        font-size: 0.65rem;
        min-height: 28px;
    }

    .btn-sm {
        padding: 3px 6px;
        font-size: 0.6rem;
        min-height: 24px;
    }

    .btn-sm i {
        width: 11px;
        height: 11px;
    }

    .drive-content {
        padding: 15px;
    }

    .file-list.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px 6px;
    }

    .drive-card {
        padding: 20px 12px 12px 12px;
    }

    .drive-card .file-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 12px;
    }

    .drive-card .file-name {
        font-size: 0.8rem;
    }

    .grid-view .drive-card .file-name .name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 2.8em;
        line-height: 1.4em;
    }

    .drive-card .file-size {
        font-size: 0.7rem;
    }

    .drive-sidebar {
        padding: 12px 0;
    }

    .sidebar-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .sidebar-btn i {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }

    .sidebar-title img {
        height: 30px !important;
    }
}

/* Admin Users Page - Eski stiller kaldırıldı, yeni stiller eklendi */

/* Sidebar Logout Button Icon Fix */
.sidebar-btn i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-section .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e8eaed;
    color: #5f6368;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 8px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.sidebar-section .btn:hover {
    background: #fae9ea;
    border-color: #d21f26;
    color: #d21f26;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.1);
}

.sidebar-section .btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Global Button Icon Fix */
.btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* Admin Users Page Action Button Icon Fix */
.admin-users-page .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #f1f3f4;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.admin-users-page .action-btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* Override any conflicting button styles */
.admin-users-page .action-btn.btn {
    font-size: 0.9rem !important;
    padding: 0 !important;
    min-height: 40px !important;
    width: 40px !important;
    height: 40px !important;
}

/* Admin Users Page Buttons - Override Standard Button Styles */
.admin-users-page .btn {
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.admin-users-page .btn-accent {
    background: #d21f26 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3) !important;
}

.admin-users-page .btn-accent:hover {
    background: #b01a1f !important;
    box-shadow: 0 4px 16px rgba(210, 31, 38, 0.4) !important;
    transform: translateY(-1px) !important;
}

.admin-users-page .btn-outline {
    background: none !important;
    border: 2px solid #dadce0 !important;
    color: #5f6368 !important;
}

.admin-users-page .btn-outline:hover {
    background: #f1f3f4 !important;
    border-color: #d21f26 !important;
    color: #d21f26 !important;
}

/* Admin Users Page Responsive */
@media (max-width: 768px) {
    .admin-users-page .drive-content {
        padding: 16px;
    }
    
    .admin-users-page .users-header {
        padding: 20px 24px;
    }
    
    .admin-users-page .users-header h3 {
        font-size: 1.1rem;
    }
    
    .admin-users-page .user-item {
        padding: 16px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-users-page .user-actions {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .admin-users-page .btn {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .admin-users-page .drive-content {
        padding: 12px;
    }
    
    .admin-users-page .users-header {
        padding: 16px 20px;
    }
    
    .admin-users-page .user-item {
        padding: 12px 20px;
    }
    
    .admin-users-page .user-name {
        font-size: 1rem;
    }
    
    .admin-users-page .user-details {
        font-size: 0.85rem;
    }
    
    .admin-users-page .action-btn {
        width: 36px;
        height: 36px;
    }
    
    .admin-users-page .action-btn i {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        display: block;
    }
    
    .admin-users-page .action-btn.btn {
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
    }
}

/* Admin Users Page Modals - Auth Modal Style */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.admin-modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.admin-modal .modal-content {
    max-height: 800px;
    overflow: auto;
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-modal .modal-header {
    margin-bottom: 24px;
}

.admin-modal .modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
}

.admin-modal .modal-form {
    margin: 0;
    padding: 0;
}

.admin-modal .modal-form label {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #202124;
    font-size: 0.9rem;
}

.admin-modal .modal-form input[type="text"],
.admin-modal .modal-form input[type="password"],
.admin-modal .modal-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.admin-modal .modal-form input[type="text"]:focus,
.admin-modal .modal-form input[type="password"]:focus,
.admin-modal .modal-form select:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
}

.admin-users-page .role-select {
    cursor: pointer;
}

.admin-modal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.admin-modal .modal-actions .btn {
    min-width: 120px;
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
}

/* Admin Users Page Modal Responsive */
@media (max-width: 768px) {
    .admin-modal .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
        padding: 24px;
    }
    
    .admin-modal .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .admin-modal .modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .admin-modal .modal-actions .btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .admin-modal .modal-content {
        width: 98%;
        margin: 10px;
        padding: 20px;
    }
    
    .admin-modal .modal-form input[type="text"],
    .admin-modal .modal-form input[type="password"],
    .admin-modal .modal-form select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* Auth Pages */
.auth-container {
    max-width: 420px;
    margin: 80px auto 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 36px 32px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 340px;
    transition: box-shadow 0.2s;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d21f26 0%, #b01a1f 100%);
    border-radius: 18px 18px 0 0;
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.auth-form label {
    color: #5f6368;
    font-size: 1.01rem;
    margin-bottom: 4px;
    font-weight: 500;
    display: block;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    background: #ffffff;
    color: #202124;
    border: 1.5px solid #dadce0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    transition: border 0.18s, box-shadow 0.18s;
    outline: none;
    box-sizing: border-box;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #d21f26;
    color: #202124;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(210, 31, 38, 0.1);
}

.auth-form .btn {
    margin-top: 8px;
    width: 100%;
    font-size: 1.07rem;
    border-radius: 18px;
    padding: 12px 0;
    font-weight: 600;
    box-sizing: border-box;
}

.auth-list {
    margin: 16px 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8eaed;
}

.auth-list b {
    color: #202124;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-list li {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e8eaed;
    font-size: 0.85rem;
    color: #5f6368;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-list li:before {
    content: '';
    width: 4px;
    height: 4px;
    background: #d21f26;
    border-radius: 50%;
    flex-shrink: 0;
}

.auth-list li:hover {
    background: #fae9ea;
    border-color: #d21f26;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.1);
}

.auth-success,
.auth-error {
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 1.01rem;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    opacity: 0.97;
}

.auth-success {
    background: #e6f4ea;
    color: #137333;
    border: 1.5px solid #b7dfb9;
}

.auth-error {
    background: #fce8e6;
    color: #d93025;
    border: 1.5px solid #fad2cf;
}

@media (max-width: 600px) {
    .auth-container {
        max-width: 98vw;
        padding: 18px 6px 14px 6px;
    }

    .auth-title {
        font-size: 1.08rem;
    }

    .auth-form .btn {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* Admin Dashboard Özel Stilleri */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d21f26, #ff4757);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-stat-card:hover {
    border-color: #d21f26;
    box-shadow: 0 4px 20px rgba(210, 31, 38, 0.15);
    transform: translateY(-2px);
}

.admin-stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(210, 31, 38, 0.1), rgba(210, 31, 38, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-stat-card:hover .stat-icon {
    background: linear-gradient(135deg, rgba(210, 31, 38, 0.15), rgba(210, 31, 38, 0.1));
    transform: scale(1.05);
}

.stat-icon i {
    width: 24px;
    height: 24px;
    color: #d21f26;
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 4px;
    line-height: 1.2;
    font-family: "Inter", sans-serif;
}

.stat-label {
    color: #5f6368;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Son İndirmeler Bölümü - Modern Tasarım */
.admin-dashboard .admin-recent-downloads {
    background: #ffffff;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-dashboard .recent-downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.admin-dashboard .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-dashboard .recent-downloads-header i {
    width: 20px;
    height: 20px;
    color: #d21f26;
}

.admin-dashboard .recent-downloads-header h3 {
    margin: 0;
    color: #202124;
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-dashboard .downloads-count {
    color: #5f6368;
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-dashboard .header-actions {
    display: flex;
    gap: 8px;
}

.admin-dashboard .no-downloads {
    text-align: center;
    color: #5f6368;
    padding: 40px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.admin-dashboard .downloads-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-dashboard .download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(241, 243, 244, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-dashboard .download-item:hover {
    background: rgba(210, 31, 38, 0.05);
    transform: translateX(4px);
}

.admin-dashboard .download-info {
    flex: 1;
}

.admin-dashboard .download-user {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #202124;
    font-size: 1rem;
    margin-bottom: 4px;
}

.admin-dashboard .download-details {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: #5f6368;
}

.admin-dashboard .file-count,
.admin-dashboard .file-size {
    display: flex;
    align-items: center;
}

.admin-dashboard .download-time {
    display: flex;
    align-items: center;
    text-align: right;
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 500;
}

/* Sayfalama */
.admin-dashboard .downloads-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.admin-dashboard .pagination-info {
    color: #5f6368;
    font-size: 0.9rem;
}

.admin-dashboard .pagination-controls {
    display: flex;
    gap: 8px;
}

/* Admin Logs Sayfası - Modern Tasarım */
.admin-logs-page .logs-count {
    color: #5f6368;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 8px;
}

/* Arama Container */
.admin-logs-page .search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-logs-page .search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #5f6368;
    z-index: 1;
}

.admin-logs-page .admin-logs-search {
    padding: 8px 12px 8px 36px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 250px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.admin-logs-page .admin-logs-search:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
}

/* İstatistik Bölümü */
.admin-logs-page .admin-logs-stats-section {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
    margin-bottom: 24px;
}

.admin-logs-page .stats-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-logs-page .stats-section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #202124;
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-logs-page .stats-section-header i {
    color: #d21f26;
}

.admin-logs-page .stats-content {
    display: block;
}

.admin-logs-page .stats-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

/* Logs Container */
.admin-logs-page .admin-logs-container {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
}

.admin-logs-page .admin-logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-logs-page .admin-logs-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #202124;
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-logs-page .admin-logs-title i {
    color: #d21f26;
}

.admin-logs-page .filtered-user,
.admin-logs-page .search-term {
    color: #d21f26;
    font-weight: 500;
    font-size: 1rem;
}

.admin-logs-page .logs-actions {
    display: flex;
    gap: 8px;
}

.admin-logs-page .logs-content {
    display: block;
}

/* Boş Durum */
.admin-logs-page .admin-logs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5f6368;
}

.admin-logs-page .empty-icon {
    margin-bottom: 16px;
}

.admin-logs-page .empty-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.admin-logs-page .empty-message {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Log Items - Modern Tasarım */
.admin-logs-page .admin-log-item {
    background: rgba(241, 243, 244, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.admin-logs-page .admin-log-item:hover {
    background: rgba(210, 31, 38, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-logs-page .log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.admin-logs-page .log-user-info {
    flex: 1;
}

.admin-logs-page .log-username {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #202124;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.admin-logs-page .log-summary {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: #5f6368;
}

.admin-logs-page .file-count,
.admin-logs-page .file-size {
    display: flex;
    align-items: center;
}

.admin-logs-page .log-time {
    display: flex;
    align-items: center;
    text-align: right;
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 500;
    white-space: nowrap;
}

.admin-logs-page .log-files {
    margin-bottom: 12px;
}

.admin-logs-page .log-files-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #202124;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.admin-logs-page .log-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-logs-page .log-file-tag {
    background: rgba(210, 31, 38, 0.1);
    color: #d21f26;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logs-page .log-ip {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

/* Sayfalama */
.admin-logs-page .admin-logs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.admin-logs-page .pagination-info {
    color: #5f6368;
    font-size: 0.9rem;
}

.admin-logs-page .pagination-controls {
    display: flex;
    gap: 8px;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .admin-logs-page .admin-logs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .admin-dashboard .recent-downloads-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-dashboard .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-dashboard .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-dashboard .download-time {
        align-self: flex-end;
    }
    
    .admin-dashboard .downloads-pagination {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .admin-logs-page .appbar-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .admin-logs-page .search-container {
        width: 100%;
    }
    
    .admin-logs-page .admin-logs-search {
        width: 100%;
    }
    
    .admin-logs-page .admin-logs-filter {
        width: 100%;
    }
    
    .admin-logs-page .admin-logs-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .admin-logs-page .stats-section-header,
    .admin-logs-page .admin-logs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-logs-page .logs-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-logs-page .log-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-logs-page .log-time {
        align-self: flex-end;
    }
    
    .admin-logs-page .admin-logs-pagination {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid,
    .admin-logs-page .admin-logs-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .admin-stat-card,
    .admin-logs-page .admin-logs-stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .admin-dashboard .recent-downloads-header h3,
    .admin-logs-page .admin-logs-title {
        font-size: 1.1rem;
    }
    
    .admin-dashboard .download-user,
    .admin-logs-page .log-username {
        font-size: 0.95rem;
    }
    
    .admin-dashboard .download-details,
    .admin-logs-page .log-summary {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
    }
    
    .admin-logs-page .log-files-list {
        flex-direction: column;
    }
    
    .admin-logs-page .log-file-tag {
        max-width: none;
    }
}

/* Mobile Sidebar & Hamburger Menu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #202124;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(210, 31, 38, 0.1);
    color: #d21f26;
}

.hamburger-btn i {
    width: 20px;
    height: 20px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.sidebar-overlay.overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Admin Logs Page Styling */
.admin-logs-page .admin-logs-filter {
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    color: #202124;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-logs-page .admin-logs-filter:hover {
    border-color: #d21f26;
}

.admin-logs-page .admin-logs-filter:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
}

.admin-logs-page .appbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .admin-logs-page .appbar-right {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
}

.admin-logs-page .admin-logs-stats-grid {
    display: grid;
    grid-template-columns: .5fr .5fr;
    min-width: 300px;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1200px) {
    .admin-logs-page .admin-logs-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .admin-logs-page .admin-logs-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.drive-card div:nth-child(2) {
    position: relative;
    z-index: 9;
}

.admin-logs-page .admin-logs-stat-card {
    background: #ffffff;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 300px;
}

.admin-logs-page .admin-logs-stat-card:hover {
    border-color: #d21f26;
    box-shadow: 0 4px 16px rgba(210, 31, 38, 0.1);
}

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

.admin-logs-page .stat-card-title {
    margin: 0;
    color: #202124;
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-logs-page .stat-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .admin-logs-page .stat-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.admin-logs-page .stat-item {
    text-align: center;
}

.admin-logs-page .stat-label {
    color: #5f6368;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.admin-logs-page .stat-value {
    color: #202124;
    font-weight: 600;
    font-size: 1rem;
}

.admin-logs-page .stat-file-types {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
}

.admin-logs-page .file-types-title {
    color: #5f6368;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.admin-logs-page .file-types-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-logs-page .file-type-tag {
    padding: 4px 8px;
    background: rgba(210, 31, 38, 0.1);
    color: #d21f26;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(210, 31, 38, 0.2);
}

.admin-logs-page .admin-logs-container {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
}

.admin-logs-page .admin-logs-title {
    margin: 0 0 24px 0;
    color: #202124;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-logs-page .admin-logs-title i {
    width: 20px;
    height: 20px;
    color: #d21f26;
}

.admin-logs-page .admin-logs-empty {
    text-align: center;
    color: #5f6368;
    padding: 48px 24px;
    font-size: 1rem;
}

.admin-logs-page .admin-logs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-logs-page .admin-log-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d21f26;
    transition: all 0.3s ease;
}

.admin-logs-page .admin-log-item:hover {
    background: #f1f3f4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-logs-page .log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .admin-logs-page .log-header {
        flex-direction: column;
        gap: 8px;
    }
}

.admin-logs-page .log-user-info {
    flex: 1;
}

.admin-logs-page .log-username {
    font-weight: 600;
    color: #202124;
    font-size: 1rem;
    margin-bottom: 4px;
}

.admin-logs-page .log-summary {
    font-size: 0.9rem;
    color: #5f6368;
}

.admin-logs-page .log-time {
    text-align: right;
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

@media (max-width: 768px) {
    .admin-logs-page .log-time {
        text-align: left;
    }
}

.admin-logs-page .log-files {
    margin-top: 12px;
}

.admin-logs-page .log-files-title {
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-logs-page .log-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-logs-page .log-file-tag {
    padding: 4px 8px;
    background: rgba(210, 31, 38, 0.1);
    color: #d21f26;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(210, 31, 38, 0.2);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logs-page .log-ip {
    font-size: 0.8rem;
    color: #5f6368;
    margin-top: 12px;
    font-style: italic;
}

/* Geçersiz dosya stilleri */
.drive-card.file-invalid {
    opacity: 0.7;
    border: 1px solid #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.drive-card.file-invalid:hover {
    opacity: 0.8;
    background: rgba(220, 38, 38, 0.08);
}

.drive-card.file-invalid .file-icon {
    opacity: 0.6;
}

.drive-card.file-invalid .file-error {
    background: rgba(220, 38, 38, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    border-left: 3px solid #dc2626;
}

.drive-card.file-invalid .file-error div {
    margin-bottom: 2px;
}

.drive-card.file-invalid .file-error div:last-child {
    margin-bottom: 0;
}

/* Download Progress Modal */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Auth Modal Specific Styles */
#authModal .download-modal-content {
    max-width: 450px;
    max-height: 800px;
    overflow: auto;
    scrollbar-width: none;
}

#authModal .auth-form {
    margin: 0;
    padding: 0;
}

#authModal .auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #202124;
    font-size: 0.9rem;
}

#authModal .auth-form input[type="text"],
#authModal .auth-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#authModal .auth-form input[type="text"]:focus,
#authModal .auth-form input[type="password"]:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 2px rgba(210, 31, 38, 0.1);
}

#authModal .auth-list {
    margin: 16px 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8eaed;
}

#authModal .auth-list b {
    color: #202124;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#authModal .auth-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#authModal .auth-list li {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e8eaed;
    font-size: 0.85rem;
    color: #5f6368;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#authModal .auth-list li:before {
    content: '';
    width: 4px;
    height: 4px;
    background: #d21f26;
    border-radius: 50%;
    flex-shrink: 0;
}

#authModal .auth-list li:hover {
    background: #fae9ea;
    border-color: #d21f26;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.1);
}

.download-modal.show {
    display: flex;
}

.download-modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.download-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.download-modal-header i {
    width: 24px;
    height: 24px;
    color: #d21f26;
}

.download-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
}

.download-progress-container {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.download-progress-overall {
    margin-bottom: 20px;
}

.download-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #495057;
}

.download-progress-text {
    font-weight: 600;
    color: #212529;
}

.download-progress-percentage {
    font-weight: 700;
    color: #d21f26;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #d21f26, #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-progress-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.download-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d21f26, #ff4757, #d21f26);
    border-radius: 6px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(210, 31, 38, 0.3);
    width: 0%;
    display: block;
    visibility: visible;
    z-index: 1;
}

/* Yeni progress fill sınıfı */
.progress-fill-new {
    height: 100%;
    background: linear-gradient(90deg, #d21f26, #ff4757, #d21f26);
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(210, 31, 38, 0.3);
    width: 0%;
    display: block;
    visibility: visible;
    z-index: 1;
    min-width: 0%;
    max-width: 100%;
}

/* Final progress fill sınıfı - tamamen yeni */
.progress-fill-final {
    height: 100%;
    background: linear-gradient(90deg, #d21f26, #ff4757, #d21f26);
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(210, 31, 38, 0.3);
    display: block;
    visibility: visible;
    z-index: 1;
}

.download-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2.5s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.download-files-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.download-files-list::-webkit-scrollbar {
    width: 4px;
}

.download-files-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.download-files-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 2px;
}

.download-files-list::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.download-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 8px;
    min-height: 52px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.download-file-item:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.download-file-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.download-file-item.completed {
    background: #f8fff9;
    border-left: 3px solid #28a745;
}

.download-file-item.processing {
    background: #fffef8;
    border-left: 3px solid #ffc107;
}

.download-file-item.pending {
    background: #ffffff;
    border-left: 3px solid #e9ecef;
}

.download-file-icon {
    width: 20px;
    height: 20px;
    color: #6c757d;
    flex-shrink: 0;
}

.download-file-item.completed .download-file-icon {
    color: #28a745;
}

.download-file-item.processing .download-file-icon {
    color: #ffc107;
}

.download-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.download-file-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.download-file-header {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0;
    min-width: 0;
}

.download-file-name {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.download-file-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.download-file-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.download-file-status.pending {
    background: #dee2e6;
}

.download-file-status.processing {
    background: #ffc107;
    animation: pulse 1.5s infinite;
}

.download-file-status.completed {
    background: #28a745;
}

.download-file-status.error {
    background: #dc3545;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.download-modal-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.download-modal-actions .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-modal-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.download-cancel-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    border: 1px solid #dee2e6;
}

.download-cancel-btn:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #212529;
    border-color: #adb5bd;
}

.download-close-btn {
    background: linear-gradient(135deg, #d21f26 0%, #ff4757 100%);
    color: #ffffff;
    border: 1px solid #d21f26;
}

.download-close-btn:hover {
    background: linear-gradient(135deg, #c71e24 0%, #e63946 100%);
    border-color: #c71e24;
}

.download-close-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

.download-close-btn:disabled:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

.download-success-message {
    text-align: center;
    color: #155724;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
    border-left: 4px solid #28a745;
    font-weight: 500;
}

.download-error-message {
    text-align: center;
    color: #721c24;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
    border-left: 4px solid #dc3545;
    font-weight: 500;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d21f26;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Export Button Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Export Dropdown Styles */
.export-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: none;
    color: #202124;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: left;
}

.export-option:hover {
    background-color: #f8f9fa;
}

.export-option:first-of-type {
    border-radius: 8px 8px 0 0;
}

.export-option:last-of-type {
    border-radius: 0 0 8px 8px;
}

.export-option:only-child {
    border-radius: 8px;
}

.export-menu {
    animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-modal-content {
        padding: 24px;
        margin: 16px;
    }
    
    .download-modal-title {
        font-size: 1.1rem;
    }
    
    .download-files-list {
        max-height: 150px;
    }
    
    .download-modal-actions {
        flex-direction: column;
    }
    
    .download-modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .download-modal-content {
        padding: 20px;
        margin: 12px;
    }
    
    .download-modal-header {
        margin-bottom: 20px;
    }
    
    .download-progress-container {
        margin-bottom: 20px;
    }
    
    .download-file-item {
        padding: 6px 0;
    }
    
    .download-file-name {
        font-size: 0.85rem;
    }
}

/* ========================================
   MODERN INPUT TASARIM STANDARDI
   ======================================== */

/* Temel Input Stilleri */
.form-input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #202124;
    background-color: #ffffff;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    outline: none;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Input Hover Durumu */
.form-input:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="url"]:hover,
input[type="tel"]:hover,
input[type="search"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover,
select:hover,
textarea:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Input Focus Durumu */
.form-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    background-color: #ffffff;
}

/* Input Placeholder */
.form-input::placeholder,
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
input[type="url"]::placeholder,
input[type="tel"]::placeholder,
input[type="search"]::placeholder,
input[type="date"]::placeholder,
input[type="time"]::placeholder,
input[type="datetime-local"]::placeholder,
textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
    opacity: 1;
}

/* Input Disabled Durumu */
.form-input:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="email"]:disabled,
input[type="number"]:disabled,
input[type="url"]:disabled,
input[type="tel"]:disabled,
input[type="search"]:disabled,
input[type="date"]:disabled,
input[type="time"]:disabled,
input[type="datetime-local"]:disabled,
select:disabled,
textarea:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* Input Error Durumu */
.form-input.error,
input[type="text"].error,
input[type="password"].error,
input[type="email"].error,
input[type="number"].error,
input[type="url"].error,
input[type="tel"].error,
input[type="search"].error,
input[type="date"].error,
input[type="time"].error,
input[type="datetime-local"].error,
select.error,
textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.form-input.error:focus,
input[type="text"].error:focus,
input[type="password"].error:focus,
input[type="email"].error:focus,
input[type="number"].error:focus,
input[type="url"].error:focus,
input[type="tel"].error:focus,
input[type="search"].error:focus,
input[type="date"].error:focus,
input[type="time"].error:focus,
input[type="datetime-local"].error:focus,
select.error:focus,
textarea.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Input Success Durumu */
.form-input.success,
input[type="text"].success,
input[type="password"].success,
input[type="email"].success,
input[type="number"].success,
input[type="url"].success,
input[type="tel"].success,
input[type="search"].success,
input[type="date"].success,
input[type="time"].success,
input[type="datetime-local"].success,
select.success,
textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.form-input.success:focus,
input[type="text"].success:focus,
input[type="password"].success:focus,
input[type="email"].success:focus,
input[type="number"].success:focus,
input[type="url"].success:focus,
input[type="tel"].success:focus,
input[type="search"].success:focus,
input[type="date"].success:focus,
input[type="time"].success:focus,
input[type="datetime-local"].success:focus,
select.success:focus,
textarea.success:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Select Dropdown Özel Stilleri */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d21f26' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Textarea Özel Stilleri */
textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

textarea.form-input-sm {
    min-height: 80px;
}

textarea.form-input-lg {
    min-height: 120px;
}

/* Input Boyutları */
.form-input-sm,
input[type="text"].form-input-sm,
input[type="password"].form-input-sm,
input[type="email"].form-input-sm,
input[type="number"].form-input-sm,
input[type="url"].form-input-sm,
input[type="tel"].form-input-sm,
input[type="search"].form-input-sm,
input[type="date"].form-input-sm,
input[type="time"].form-input-sm,
input[type="datetime-local"].form-input-sm,
select.form-input-sm,
textarea.form-input-sm {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.form-input-lg,
input[type="text"].form-input-lg,
input[type="password"].form-input-lg,
input[type="email"].form-input-lg,
input[type="number"].form-input-lg,
input[type="url"].form-input-lg,
input[type="tel"].form-input-lg,
input[type="search"].form-input-lg,
input[type="date"].form-input-lg,
input[type="time"].form-input-lg,
input[type="datetime-local"].form-input-lg,
select.form-input-lg,
textarea.form-input-lg {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 12px;
}

/* Input Grupları */
.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.input-group .input-help {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.4;
}

.input-group .input-error {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-group .input-error::before {
    content: "⚠";
    font-size: 14px;
}

.input-group .input-success {
    font-size: 12px;
    color: #059669;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-group .input-success::before {
    content: "✓";
    font-size: 14px;
    font-weight: bold;
}

/* Input Icon'ları */
.input-with-icon {
    position: relative;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    padding-left: 44px;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-with-icon input:focus + .input-icon,
.input-with-icon select:focus + .input-icon,
.input-with-icon textarea:focus + .input-icon {
    color: #d21f26;
}

/* Checkbox Modern Tasarım */
.checkbox-modern {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.checkbox-modern:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.checkbox-modern:checked {
    background-color: #d21f26;
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.checkbox-modern:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.checkbox-modern:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* Radio Button Modern Tasarım */
.radio-modern {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.radio-modern:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.radio-modern:checked {
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.radio-modern:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #d21f26;
    border-radius: 50%;
}

.radio-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.radio-modern:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* Switch Toggle Modern Tasarım */
.switch-modern {
    appearance: none;
    width: 44px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    background-color: #f3f4f6;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.switch-modern::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch-modern:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.switch-modern:checked {
    background-color: #d21f26;
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.switch-modern:checked::after {
    transform: translateX(20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.switch-modern:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Form Grupları */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-row .input-group {
    flex: 1;
    margin-bottom: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-input,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    select,
    textarea {
        font-size: 16px; /* Mobile'da zoom'u önlemek için */
        padding: 14px 16px;
    }
    
    .form-input-sm,
    input[type="text"].form-input-sm,
    input[type="password"].form-input-sm,
    input[type="email"].form-input-sm,
    input[type="number"].form-input-sm,
    input[type="url"].form-input-sm,
    input[type="tel"].form-input-sm,
    input[type="search"].form-input-sm,
    input[type="date"].form-input-sm,
    input[type="time"].form-input-sm,
    input[type="datetime-local"].form-input-sm,
    select.form-input-sm,
    textarea.form-input-sm {
        font-size: 16px;
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .form-input,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    select,
    textarea {
        padding: 12px 14px;
        border-radius: 8px;
    }
    
    .input-group {
        margin-bottom: 16px;
    }
    
    .input-group label {
        font-size: 13px;
        margin-bottom: 4px;
    }
}

/* Mevcut Stilleri Güncelleme */
.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    background: #ffffff;
    color: #202124;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.search-input:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.search-input:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Auth Form Input'ları */
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    background: #ffffff;
    color: #202124;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.auth-form input[type="text"]:hover,
.auth-form input[type="password"]:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #d21f26;
    color: #202124;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Modal Form Input'ları */
.modal-form input[type="text"],
.modal-form input[type="password"],
.modal-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.modal-form input[type="text"]:hover,
.modal-form input[type="password"]:hover,
.modal-form select:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.modal-form input[type="text"]:focus,
.modal-form input[type="password"]:focus,
.modal-form select:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Admin Logs Search */
.admin-logs-search {
    padding: 8px 12px 8px 36px;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    width: 250px;
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.admin-logs-search:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.admin-logs-search:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Admin Logs Filter */
.admin-logs-filter {
    padding: 8px 12px;
    background: #ffffff;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    color: #202124;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.admin-logs-filter:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.admin-logs-filter:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* Role Select */
.role-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.role-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d21f26' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Checkbox Custom Güncelleme - Modern Tasarıma Uygun */
.checkbox-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
}

.checkbox-custom:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.checkbox-custom:checked {
    background-color: #d21f26;
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.checkbox-custom:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-custom:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.checkbox-custom:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* File Select Checkbox Özel Stilleri */
.drive-card .file-select.checkbox-modern {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 20px;
    height: 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.drive-card .file-select.checkbox-modern:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.drive-card .file-select.checkbox-modern:checked {
    background-color: #d21f26;
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.drive-card .file-select.checkbox-modern:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.drive-card .file-select.checkbox-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.drive-card .file-select.checkbox-modern:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* List View için File Select Checkbox */
.drive-card.as-list .file-select.checkbox-modern {
    position: static;
    margin-right: 18px;
    top: auto;
    left: auto;
}

/* Responsive için File Select Checkbox */
@media (max-width: 700px) {
    .drive-card .file-select.checkbox-modern {
        width: 18px;
        height: 18px;
        top: 12px;
        left: 12px;
    }
    
    .drive-card.as-list .file-select.checkbox-modern {
        width: 16px;
        height: 16px;
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    .drive-card .file-select.checkbox-modern {
        width: 16px;
        height: 16px;
        top: 10px;
        left: 10px;
    }
    
    .drive-card.as-list .file-select.checkbox-modern {
        width: 14px;
        height: 14px;
        margin-right: 8px;
    }
}

/* Admin Settings Pages - Standard Design */
.admin-settings-page .drive-content {
    padding: 24px 32px;
    background: #f8f9fa;
    min-height: calc(100vh - 64px);
}

.admin-settings-page .settings-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admin-settings-page .settings-header {
    padding: 32px 32px 24px 32px;
    text-align: center;
    border-bottom: 1px solid #e8eaed;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.admin-settings-page .settings-icon {
    width: 48px;
    height: 48px;
    background: #d21f26;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(210, 31, 38, 0.2);
}

.admin-settings-page .settings-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 8px 0;
}

.admin-settings-page .settings-description {
    color: #5f6368;
    font-size: 0.95rem;
    margin: 0;
}

.admin-settings-page .settings-content {
    padding: 32px;
}

.admin-settings-page .settings-section {
    margin-bottom: 32px;
}

.admin-settings-page .settings-section:last-child {
    margin-bottom: 0;
}

.admin-settings-page .section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8eaed;
}

.admin-settings-page .section-title i {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #d21f26;
    flex-shrink: 0;
}

.admin-settings-page .form-group {
    margin-bottom: 20px;
}

.admin-settings-page .form-group:last-child {
    margin-bottom: 0;
}

.admin-settings-page .form-label {
    display: block;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.admin-settings-page .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.admin-settings-page .form-input:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.admin-settings-page .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.admin-settings-page .form-textarea:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.admin-settings-page .checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.admin-settings-page .checkbox-modern {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-right: 12px;
}

.admin-settings-page .checkbox-modern:checked {
    background-color: #d21f26;
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.3);
}

.admin-settings-page .checkbox-modern:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.admin-settings-page .checkbox-label {
    font-size: 0.9rem;
    color: #202124;
    cursor: pointer;
}

.admin-settings-page .current-value {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 6px;
    font-style: italic;
}

.admin-settings-page .file-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.admin-settings-page .file-type-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e8eaed;
}

.admin-settings-page .category-title {
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.admin-settings-page .category-extensions {
    color: #5f6368;
    font-size: 0.85rem;
    line-height: 1.4;
}

.admin-settings-page .settings-actions {
    padding: 24px 32px;
    background: #f8f9fa;
    border-top: 1px solid #e8eaed;
    text-align: right;
}

.admin-settings-page .btn-save {
    background: #d21f26;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.admin-settings-page .btn-save:hover {
    background: #b91c22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 31, 38, 0.3);
}

.admin-settings-page .message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.admin-settings-page .message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.admin-settings-page .message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Design for Admin Settings */
@media (max-width: 768px) {
    .admin-settings-page .drive-content {
        padding: 16px;
    }
    
    .admin-settings-page .settings-container {
        margin: 0;
        border-radius: 8px;
    }
    
    .admin-settings-page .settings-header {
        padding: 24px 20px 20px 20px;
    }
    
    .admin-settings-page .settings-content {
        padding: 24px 20px;
    }
    
    .admin-settings-page .settings-actions {
        padding: 20px;
    }
    
    .admin-settings-page .file-types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-settings-page .settings-title {
        font-size: 1.3rem;
    }
    
    .admin-settings-page .section-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
        padding-bottom: 8px;
        gap: 8px;
    }
    
    .admin-settings-page .section-title i {
        width: 18px;
        height: 18px;
    }
    
    .admin-settings-page .form-input,
    .admin-settings-page .form-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Kullanıcılar ve İndirme Logları Sayfaları için Uyumlu Tasarım */
.admin-users-page .drive-content,
.admin-logs-page .drive-content {
    padding: 24px 32px;
    background: #f8f9fa;
    min-height: calc(100vh - 64px);
}

.admin-users-page .settings-container,
.admin-logs-page .settings-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admin-users-page .settings-header,
.admin-logs-page .settings-header {
    padding: 32px 32px 24px 32px;
    text-align: center;
    border-bottom: 1px solid #e8eaed;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.admin-users-page .settings-icon,
.admin-logs-page .settings-icon {
    width: 48px;
    height: 48px;
    background: #d21f26;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(210, 31, 38, 0.2);
}

.admin-users-page .settings-title,
.admin-logs-page .settings-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 8px 0;
}

.admin-users-page .settings-description,
.admin-logs-page .settings-description {
    color: #5f6368;
    font-size: 0.95rem;
    margin: 0;
}

.admin-users-page .settings-content,
.admin-logs-page .settings-content {
    padding: 32px;
}

/* Kullanıcılar Sayfası Özel Stilleri */
.admin-users-page .users-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-users-page .user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.admin-users-page .user-item:last-child {
    border-bottom: none;
}

.admin-users-page .user-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px 16px;
    margin: 0 -16px;
}

.admin-users-page .user-info {
    flex: 1;
    min-width: 0;
}

.admin-users-page .user-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.admin-users-page .user-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #202124;
}

.admin-users-page .user-role {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-users-page .user-role.admin {
    background: #d21f26;
    color: #ffffff;
}

.admin-users-page .user-role.user {
    background: #e8f0fe;
    color: #1a73e8;
}

.admin-users-page .user-details {
    font-size: 0.9rem;
    color: #5f6368;
    line-height: 1.4;
}

.admin-users-page .user-actions {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.admin-users-page .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #f1f3f4;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.admin-users-page .action-btn:hover {
    background: #e8eaed;
    color: #202124;
    transform: translateY(-1px);
}

.admin-users-page .action-btn.edit-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

.admin-users-page .action-btn.delete-btn:hover {
    background: #fce8e6;
    color: #d93025;
}

.admin-users-page .action-btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

/* İndirme Logları Sayfası Özel Stilleri */
.admin-logs-page .admin-logs-stats-section {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
    margin-bottom: 24px;
}

.admin-logs-page .stats-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-logs-page .stats-section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #202124;
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-logs-page .stats-section-header i {
    color: #d21f26;
}

.admin-logs-page .stats-content {
    display: block;
}

.admin-logs-page .stats-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.admin-logs-page .admin-logs-container {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px;
    box-shadow: none;
}

.admin-logs-page .admin-logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-logs-page .admin-logs-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #202124;
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-logs-page .admin-logs-title i {
    color: #d21f26;
}

.admin-logs-page .filtered-user,
.admin-logs-page .search-term {
    color: #d21f26;
    font-weight: 500;
    font-size: 1rem;
}

.admin-logs-page .logs-actions {
    display: flex;
    gap: 8px;
}

.admin-logs-page .logs-content {
    display: block;
}

/* Boş Durum */
.admin-logs-page .admin-logs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5f6368;
}

.admin-logs-page .empty-icon {
    margin-bottom: 16px;
}

.admin-logs-page .empty-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.admin-logs-page .empty-message {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Log Items - Modern Tasarım */
.admin-logs-page .admin-log-item {
    background: rgba(241, 243, 244, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.admin-logs-page .admin-log-item:hover {
    background: rgba(210, 31, 38, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-logs-page .log-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.admin-logs-page .log-user-info {
    flex: 1;
}

.admin-logs-page .log-username {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #202124;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.admin-logs-page .log-summary {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: #5f6368;
}

.admin-logs-page .file-count,
.admin-logs-page .file-size {
    display: flex;
    align-items: center;
}

.admin-logs-page .log-time {
    display: flex;
    align-items: center;
    text-align: right;
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 500;
    white-space: nowrap;
}

.admin-logs-page .log-files {
    margin-bottom: 12px;
}

.admin-logs-page .log-files-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #202124;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.admin-logs-page .log-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-logs-page .log-file-tag {
    background: rgba(210, 31, 38, 0.1);
    color: #d21f26;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-logs-page .log-ip {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

/* Sayfalama */
.admin-logs-page .admin-logs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.admin-logs-page .pagination-info {
    color: #5f6368;
    font-size: 0.9rem;
}

.admin-logs-page .pagination-controls {
    display: flex;
    gap: 8px;
}

/* Responsive Design for Admin Settings */
@media (max-width: 768px) {
    .admin-settings-page .drive-content,
    .admin-users-page .drive-content,
    .admin-logs-page .drive-content {
        padding: 16px;
    }
    
    .admin-settings-page .settings-container,
    .admin-users-page .settings-container,
    .admin-logs-page .settings-container {
        margin: 0;
        border-radius: 8px;
    }
    
    .admin-settings-page .settings-header,
    .admin-users-page .settings-header,
    .admin-logs-page .settings-header {
        padding: 24px 20px 20px 20px;
    }
    
    .admin-settings-page .settings-content,
    .admin-users-page .settings-content,
    .admin-logs-page .settings-content {
        padding: 24px 20px;
    }
    
    .admin-settings-page .settings-actions {
        padding: 20px;
    }
    
    .admin-settings-page .file-types-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-users-page .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-users-page .user-actions {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .admin-logs-page .stats-section-header,
    .admin-logs-page .admin-logs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-logs-page .logs-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-logs-page .log-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .admin-logs-page .log-time {
        align-self: flex-end;
    }
    
    .admin-logs-page .admin-logs-pagination {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .admin-settings-page .settings-title,
    .admin-users-page .settings-title,
    .admin-logs-page .settings-title {
        font-size: 1.3rem;
    }
    
    .admin-settings-page .section-title,
    .admin-logs-page .stats-section-header h3,
    .admin-logs-page .admin-logs-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
        padding-bottom: 8px;
        gap: 8px;
    }
    
    .admin-settings-page .section-title i,
    .admin-logs-page .stats-section-header i,
    .admin-logs-page .admin-logs-title i {
        width: 18px;
        height: 18px;
    }
    
    .admin-settings-page .form-input,
    .admin-settings-page .form-textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .admin-users-page .user-name {
        font-size: 1rem;
    }
    
    .admin-users-page .user-details {
        font-size: 0.85rem;
    }
    
    .admin-users-page .action-btn {
        width: 36px;
        height: 36px;
    }
    
    .admin-users-page .action-btn i {
        width: 16px;
        height: 16px;
    }
    
    .admin-logs-page .log-username {
        font-size: 0.95rem;
    }
    
    .admin-logs-page .log-summary {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
    }
    
    .admin-logs-page .log-files-list {
        flex-direction: column;
    }
    
    .admin-logs-page .log-file-tag {
        max-width: none;
    }
}

/* Test Panel Styles */
.test-panel {
    margin-top: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8eaed;
}

.test-panel-header {
    text-align: center;
    margin-bottom: 24px;
}

.test-panel-header h3 {
    margin: 0 0 8px 0;
    color: #202124;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.test-panel-header p {
    margin: 0;
    color: #5f6368;
    font-size: 0.9rem;
}

.test-controls {
    display: grid;
    gap: 24px;
}

.test-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e8eaed;
}

.test-section h4 {
    margin: 0 0 16px 0;
    color: #202124;
    font-size: 1rem;
    font-weight: 600;
}

.test-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.test-status {
    background: #f1f3f4;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
}

.test-status p {
    margin: 0;
    color: #5f6368;
    font-size: 0.9rem;
}

.test-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.test-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* Responsive Test Panel */
@media (max-width: 768px) {
    .test-inputs {
        grid-template-columns: 1fr;
    }
    
    .test-buttons {
        flex-direction: column;
    }
    
    .test-buttons .btn {
        width: 100%;
    }
}

/* Dosya Yönetim Araçları */
.file-management-tools {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e8eaed;
}

.tools-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tools-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #202124;
}

/* Upload butonu için özel stiller kaldırıldı - projenin standart btn-accent stilleri kullanılıyor */

.file-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e8eaed;
}

.search-group,
.category-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group label,
.category-group label {
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
}

/* Dosya yönetimi için özel stiller kaldırıldı - projenin standart form-input stilleri kullanılıyor */

/* Ana sayfa arama alanları için özel stiller */
.search-select {
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #202124;
    background-color: #ffffff;
    border: 1.5px solid #e1e5e9;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    outline: none;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    min-width: 150px;
}

.search-select:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.search-select:focus {
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.08), 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    background-color: #ffffff;
}

/* Ana sayfa arama formu düzeni */
.search-filters form {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.search-filters .search-input {
    flex: 1;
    min-width: 200px;
}

.search-filters .search-select {
    min-width: 180px;
}

.search-filters .btn {
    white-space: nowrap;
}

/* Responsive düzen */
@media (max-width: 768px) {
    .search-filters form {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-filters .search-input,
    .search-filters .search-select {
        width: 100%;
        min-width: auto;
    }
}

.search-actions {
    display: flex;
    gap: 8px;
    align-items: end;
    margin-bottom: 4px;
}

.search-actions .btn {
    min-width: 100px;
}

.search-actions a.btn {
    padding: 0 10px!important;
}

.search-actions .btn i {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.search-actions a.btn svg {
    margin-right: 0!important;
    width: 16px !important;
    height: 16px !important;
}

/* Kategori İstatistikleri */
.category-stats {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-stats h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d21f26;
}

.category-name {
    font-weight: 500;
    color: #202124;
}

.category-count {
    font-size: 14px;
    color: #5f6368;
    background: #e8eaed;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Dosya Listesi */
.files-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.files-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.files-empty {
    text-align: center;
    padding: 48px 24px;
    color: #5f6368;
}

.empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.empty-message {
    font-size: 14px;
    opacity: 0.8;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    transition: all 0.2s;
}

.file-item:hover {
    border-color: #d21f26;
    box-shadow: 0 2px 8px rgba(210, 31, 38, 0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d21f26;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.file-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 4px;
}

.file-description {
    font-size: 14px;
    color: #5f6368;
    font-style: italic;
}

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

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0 !important;
}

.edit-btn {
    background: #e3f2fd;
    color: #1976d2;
}

.edit-btn:hover {
    background: #bbdefb;
}

.delete-btn {
    background: #ffebee;
    color: #d32f2f;
}

.delete-btn:hover {
    background: #ffcdd2;
}

.download-btn {
    background: #e8f5e8;
    color: #388e3c;
}

.download-btn:hover {
    background: #c8e6c9;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

/* Dosya Yönetimi Responsive */
@media (max-width: 768px) {
    .file-search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-actions {
        justify-content: stretch;
    }

    .search-actions .btn {
        flex: 1;
    }

    .tools-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .files-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Login Sayfası Stilleri */
.admin-login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.admin-login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.admin-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #d21f26 0%, #b71c1c 100%);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.admin-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.logo-img {
    width: auto;
    height: 48px;
}

.admin-login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 8px 0;
}

.admin-login-subtitle {
    font-size: 0.95rem;
    color: #5f6368;
    margin: 0;
    line-height: 1.5;
}

.admin-login-error {
    background: #fce8e6;
    border: 1px solid #fad2cf;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d93025;
    font-size: 0.9rem;
}

.admin-login-error i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.admin-login-form {
    margin-bottom: 32px;
}

.admin-login-form .form-group {
    margin-bottom: 24px;
}

.admin-login-form .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.admin-login-form .form-label i {
    width: 16px;
    height: 16px;
    color: #5f6368;
}

.admin-login-form .form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #202124;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.admin-login-form .form-input:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
    transform: translateY(-1px);
}

.admin-login-form .form-input::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

.admin-login-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #d21f26 0%, #b71c1c 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(210, 31, 38, 0.3);
    margin-top: 8px;
}

.admin-login-btn:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8e0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 31, 38, 0.4);
}

.admin-login-btn i {
    width: 20px;
    height: 20px;
}

.admin-login-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e8eaed;
}

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5f6368;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-login-link:hover {
    color: #d21f26;
    background: #fae9ea;
    transform: translateY(-1px);
}

.admin-login-link i {
    width: 16px;
    height: 16px;
}

/* Admin Login Responsive Tasarım */
@media (max-width: 480px) {
    .admin-login-container {
        padding: 16px;
    }
    
    .admin-login-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .admin-login-title {
        font-size: 1.5rem;
    }
    
    .admin-login-subtitle {
        font-size: 0.9rem;
    }
    
    .admin-login-form .form-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .admin-login-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* Kategori Yönetimi Sayfası Stilleri */
.category-stats-section {
    margin-bottom: 32px;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stats-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
}

.stats-header i {
    width: 24px;
    height: 24px;
    color: #5f6368;
}

.category-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.category-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.category-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #d21f26 0%, #b71c1c 100%);
}

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

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
}

.stat-content {
    text-align: center;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 4px;
}

.stat-footer {
    text-align: center;
}

.stat-size {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

.categories-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.categories-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.categories-header i {
    width: 24px;
    height: 24px;
    color: #5f6368;
}

.categories-count {
    font-size: 0.9rem;
    color: #5f6368;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 500;
}

.categories-empty {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    color: #9aa0a6;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 8px 0;
}

.empty-message {
    font-size: 0.95rem;
    color: #5f6368;
    margin: 0;
    line-height: 1.5;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8eaed;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.category-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-details {
    flex: 1;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #202124;
    margin: 0 0 4px 0;
}

.category-description {
    font-size: 0.9rem;
    color: #5f6368;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.category-meta {
    display: flex;
    gap: 16px;
}

.category-files,
.category-size {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

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

.category-actions .btn {
    white-space: nowrap;
}

.category-files-list {
    max-height: 400px;
    overflow-y: auto;
}

.category-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #e8eaed;
}

.category-file-item:last-child {
    border-bottom: none;
}

.category-file-item .file-icon {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-file-item .file-icon i {
    width: 18px;
    height: 18px;
    color: #5f6368;
}

.category-file-item .file-info {
    flex: 1;
}

.category-file-item .file-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.category-file-item .file-meta {
    font-size: 0.8rem;
    color: #5f6368;
}

.no-files {
    text-align: center;
    padding: 24px;
    color: #5f6368;
    font-style: italic;
}

/* Kategori Yönetimi Responsive */
@media (max-width: 768px) {
    .category-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .category-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .category-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .category-meta {
        flex-direction: column;
        gap: 4px;
    }
}

/* Kategori yönetimi sayfası için özel stiller */
.tools-header {
    margin-bottom: 0;
}

/* Upload Modal Styles */
.upload-container {
    padding: 0;
}

.upload-drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.upload-drop-zone.drag-over {
    border-color: #d21f26;
    background: rgba(210, 31, 38, 0.05);
    transform: scale(1.02);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.drop-zone-icon {
    width: 48px;
    height: 48px;
    color: #6b7280;
    margin-bottom: 8px;
}

.drop-zone-content h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.drop-zone-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.upload-file-list {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.upload-file-list h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.upload-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
}

.upload-file-item:last-child {
    margin-bottom: 0;
}

.upload-file-item .file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.upload-file-item .file-icon {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.upload-file-item .file-details {
    flex: 1;
}

.upload-file-item .file-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.upload-file-item .file-size {
    font-size: 12px;
    color: #6b7280;
}

.upload-progress {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.progress-header span {
    font-size: 14px;
    font-weight: 600;
    color: #d21f26;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d21f26, #e53e3e);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.upload-settings {
    margin-bottom: 24px;
}

.setting-group {
    margin-bottom: 16px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

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

.setting-group textarea,
.setting-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

.setting-group textarea:focus,
.setting-group select:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 3px rgba(210, 31, 38, 0.1);
}

.upload-error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
}

.upload-success {
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #16a34a;
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .upload-drop-zone {
        padding: 24px 16px;
    }
    
    .drop-zone-icon {
        width: 40px;
        height: 40px;
    }
    
    .drop-zone-content h4 {
        font-size: 16px;
    }
    
    .upload-file-item {
        padding: 8px;
    }
    
    .upload-file-item .file-name {
        font-size: 13px;
    }
    
    .upload-file-item .file-size {
        font-size: 11px;
    }
}

/* Download Progress Bar Styles */
.download-file-progress-container {
    width: 100%;
    height: 1px;
    background: #e9ecef;
    border-radius: 0.5px;
    overflow: hidden;
    position: relative;
}

.download-file-progress {
    height: 100%;
    background: #d21f26;
    border-radius: 0.5px;
    transition: width 0.3s ease;
    position: relative;
}

.download-file-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Sabit Dosya Yükle Butonu */
#fixedUploadBtn {
    transition: all 0.3s ease;
}

#fixedUploadBtn:hover {
    transform: scale(1.1);
}

#fixedUploadBtn button {
    transition: all 0.3s ease;
}

#fixedUploadBtn button:hover {
    box-shadow: 0 6px 16px rgba(210, 31, 38, 0.4) !important;
    transform: translateY(-2px);
}

.error {
    text-align: center;
    padding: 24px;
    color: #dc2626;
    font-weight: 500;
}

/* Admin Action Bar */
.admin-action-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #e8eaed;
}

.admin-action-bar .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Admin Logs Controls */
.admin-logs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #e8eaed;
}

.logs-controls-left {
    display: flex;
    align-items: center;
}

.logs-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logs-count {
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #5f6368;
    z-index: 1;
}

.admin-logs-search {
    padding: 10px 12px 10px 36px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
    transition: border-color 0.2s ease;
}

.admin-logs-search:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 2px rgba(210, 31, 38, 0.1);
}

.admin-logs-filter {
    padding: 10px 12px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    min-width: 160px;
    transition: border-color 0.2s ease;
}

.admin-logs-filter:focus {
    outline: none;
    border-color: #d21f26;
    box-shadow: 0 0 0 2px rgba(210, 31, 38, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-logs-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .logs-controls-right {
        flex-direction: column;
        gap: 12px;
    }
    
    .admin-logs-search {
        width: 100%;
    }
    
    .admin-logs-filter {
        width: 100%;
    }
}