:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --accent-color: #8ab4f8;
    --light-bg: #f8f9fa;
    --text-color: #202124;
    --border-color: #dadce0;
}

body {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 0;
}

.login-card {
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right bottom, #ffffff, #f8f9fa);
    border: none;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0 !important;
    text-align: center;
    padding: 20px;
    font-weight: 600;
    border: none;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

.dashboard-header a {
    text-decoration: none;
}

.dashboard-header h1:hover {
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table thead {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(66, 133, 244, 0.05);
}

.footer {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem 0;
    color: #70757a;
}

/* Mobil uyumluluk için responsive tasarım */
@media (max-width: 768px) {
    .card {
        margin: 0 10px;
    }
    
    .table-responsive {
        border-radius: 10px;
        overflow: hidden;
    }
}

.badge {
    font-size: 0.85rem;
    padding: 0.4em 0.6em;
    border-radius: 6px;
}

.bg-success {
    background-color: #34a853 !important;
}

.bg-warning {
    background-color: #fbbc05 !important;
}

.bg-danger {
    background-color: #ea4335 !important;
}

.action-buttons .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin-right: 5px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.25);
}

.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Debug bilgisi için stil */
.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Countdown style */
.badge.countdown {
    font-size: 0.9rem;
    padding: 0.5em 0.7em;
    border-radius: 6px;
    white-space: normal;
    display: inline-block;
    line-height: 1.3;
    margin: 3px 0;
    text-align: center;
    min-width: 150px;
}

/* Remove the old countdown class that's no longer needed */
.countdown {
    font-weight: 500;
}

/* Berkeley saati için stil */
#berkeley-time {
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.timezone-info {
    position: relative;
    display: inline-block;
    cursor: help;
}

.timezone-info:hover .timezone-tooltip {
    visibility: visible;
    opacity: 1;
}

.timezone-tooltip {
    visibility: hidden;
    width: 250px;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
}

.timezone-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}

/* Filtreleme ve arama formu için stil */
.filter-form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Kategori tabları */
.category-tabs {
    margin-bottom: 20px;
}

.category-tabs .nav-link {
    color: var(--text-color);
    border-radius: 10px 10px 0 0;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-tabs .nav-link:not(.active):hover {
    background-color: var(--light-bg);
    border-color: var(--border-color);
}

/* Tamamlanan ihaleler için özel stiller */
.completed-tender {
    background-color: #f9f9f9;
}

.completed-tender td {
    opacity: 0.8;
}

/* Arama kutusu için stil */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 40px;
    border-radius: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #70757a;
}

/* Filtreleme seçenekleri için stil */
.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-badge {
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 20px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.filter-badge.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-badge:hover:not(.active) {
    background-color: var(--border-color);
}
