/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
    padding-top: 75px;
    min-height: 100vh;
}
.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

    top: 0;
    z-index: 1000;
}


.header {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
}

.container {
    padding: 20px;
}

.logout-button {
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 20px;
}

.logout-button:hover {
    background-color: #d32f2f;
}



.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.user-table th, .user-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.user-table th {
    background-color: #f2f2f2;
}


.logo-image {
    max-width: 100px;
    height: auto;
}
/* Ana Sayfa ve Kategori Stilleri */
.page-title {
    text-align: center;
    color: #2c3e50;
    margin: 20px 0;
    font-size: 1.8em;
    font-weight: 600;
}

.kategori-list {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
    padding: 15px;
}

.kategori-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.kategori-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.kategori-card:active {
    transform: scale(0.98);
}

.kategori-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.kategori-content {
    padding: 15px;
}

.kategori-title {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.kategori-desc {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    line-height: 1.4;
}

.kategori-count {
    color: #2ecc71;
    font-size: 0.85em;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
    display: inline-block;
}

/* Alt Kategori Kartı Stilleri */
.sub-category-card {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.sub-category-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 204, 113, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.sub-category-icon img{
    width: 30px;
}

.sub-category-card:hover .sub-category-icon {
    background: rgba(46, 204, 113, 0.3);
}

.sub-category-info {
    flex: 1;
}

/* Arama Çubuğu Stilleri */
.search-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: #666;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 45px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.search-input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: #f5f5f5;
}

/* Ürün Kartı Stilleri */
.urun-listesi {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
}

.urun-karti {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* Slider Stilleri */
.slider-container {
    position: relative;
    width: 100%;
    height: 350px; /* veya istediğiniz yükseklik */
    overflow: hidden;
    background: #f8f9fa;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease;
}

.slide {
    flex: 0 0 100%; /* Önemli: Her slide tam genişlikte olacak */
    width: 100%;
    height: 100%;
    position: relative; /* Resim pozisyonlaması için */
}

.slide img {
    width: 100%;         /* Alanın tamamını kaplayacak şekilde genişliği ayarla */
    height: 100%;        /* Alanın tamamını kaplayacak şekilde yüksekliği ayarla */
    object-fit: contain; /* Resmi alanın içine tamamen sığdır */
    object-position: center; /* Resmi ortala */
    background: #fff;
}

/* Slider dots stilleri aynı kalabilir */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5); /* Daha görünür olması için beyaz */
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Mobil için yükseklik ayarı */
@media (max-width: 480px) {
    .slider-container {
        height: 280px;
    }
}

/* Ürün Detay Stilleri */
.urun-detay {
    padding: 20px;
}

.urun-baslik {
    font-size: 1.1em;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.urun-kodu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.urun-kodu, .urun-psf {
    font-size: 0.85em;
    color: #666;
}



.urun-psf {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 15px;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    display: inline-block;
}
.urun-kodu {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 15px;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    display: inline-block;
}

.fiyat-bolumu {
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px 15px 10px 15px;
}

.fiyat-baslik {
    color: #666;
    font-size: 0.9em;

}

.fiyat-secici {
    display: flex;
    align-items: center;
    gap: 15px;
}

.miktar-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #fff;
    color: #2ecc71;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.miktar-btn:hover:not(:disabled) {
    background: #2ecc71;
    color: #fff;
    transform: scale(1.05);
}

.miktar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
    color: #999;
}

.miktar {
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 30px;
    text-align: center;
}

.fiyat-container {
    margin-left: auto;
    text-align: right;
}

.birim-fiyat {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 2px;
}

.fiyat {
    font-size: 1.2em;
    font-weight: 600;
    color: #2ecc71;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #2ecc71;
    color: white;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #ccc;
}

.add-to-cart-btn:not(:disabled):hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.add-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.add-cart-text {
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease;
}

.add-cart-success {
    position: absolute;
    right: 15px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.add-to-cart-btn.added .add-cart-icon {
    transform: translateX(-100%);
}

.add-to-cart-btn.added .add-cart-text {
    transform: translateX(-30px);
}

.add-to-cart-btn.added .add-cart-success {
    transform: translateX(0);
    opacity: 1;
}

/* Ana Sepet Butonu Stilleri - bunlar ayrı */
.cart-float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.cart-float-icon {
    width: 60px;
    height: 60px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
    position: relative;
}
/* Yeni Sepete Ekle Buton Stili */
.sepete-ekle {
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #2ecc71;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    left: 20px; /* right yerine left kullanıyoruz */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
    z-index: 2; /* Diğer elementlerin üzerinde görünmesi için */
}

.sepete-ekle:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #ccc;
}

.sepete-ekle:not(:disabled):hover {
    background: #27ae60;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.3);
}

.sepete-ekle .sepet-confirm {
    position: absolute;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.sepete-ekle.added svg:first-child {
    display: none;
}

.sepete-ekle.added .sepet-confirm {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 480px) {
    .sepete-ekle {
        left: 22px; /* Mobilde kenardan biraz daha az boşluk */
        bottom: 15px;
        width: 48px; /* Mobilde biraz daha küçük */
        height: 48px;
    }
}

/* Sepet Panel Stilleri */
.sepet-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.sepet-icon {
    width: 60px;
    height: 60px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
    position: relative;
    transition: transform 0.3s ease;
}

.sepet-icon:hover {
    transform: scale(1.1);
}

.sepet-sayi {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Sepet Panel Stilleri */
.sepet-panel {
    position: fixed;
    top: 0;
    right: -400px; /* panel başlangıçta gizli */
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Bu kısım değişecek - önceden yanlış yazılmıştı */
.sepet-panel.active { /* nokta ile birleşik yazılmalı */
    right: 0;
}

@media (max-width: 480px) {
    .sepet-panel {
        width: 100%;
        right: -100%;
    }
    
    .sepet-panel.active {
        right: 0;
    }
}

.sepet-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.sepet-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.sepet-kapat {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.sepet-kapat:hover {
    background: #f5f5f5;
    color: #e74c3c;
}

.sepet-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sepet-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.3s ease;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.sepet-item:hover {
    background: #f8f9fa;
}

.sepet-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.sepet-item-details {
    flex: 1;
}

.sepet-item-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #2c3e50;
}

.sepet-item-price {
    color: #2ecc71;
    font-weight: 600;
    font-size: 0.9em;
}

.sepet-item-remove {
    border: none;
    background: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sepet-item-remove:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.sepet-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.sepet-toplam {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.toplam-fiyat {
    color: #2ecc71;
    font-size: 1.2em;
}

.sepet-onay {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #2ecc71;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sepet-onay:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.sepet-onay:active {
    transform: translateY(0);
}

/* Geri Butonu */
.back-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
}

.back-button:hover {
    background: #27ae60;
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.3);
}

.back-button:active {
    transform: translateX(-50%) scale(0.98);
}

/* Bildirim Stilleri */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    animation: slideUp 0.3s ease, fadeOut 0.3s ease 2s forwards;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from { 
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to { 
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

/* Responsive Tasarım */
@media (min-width: 768px) {
    .kategori-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
.urun-karti {
    margin: 10px 0;
    position: relative;
    padding-bottom: 60px; /* Buton için alan bırak */
}
@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }

    .search-container {
        padding: 10px;
    }
    
    .search-input {
        padding: 10px 35px 10px 40px;
        font-size: 15px;
    }

    .slider-container,
    .slide img {
        height: 280px;
    }
    
    .urun-karti {
        margin: 10px 0;
        position: relative;
        padding-bottom: 42px; /* Buton için alan bırak */
    }
    
    .sepet-panel {
        width: 100%;
        right: -100%;
    }
    
    .sepet-button {
        right: 15px;
        bottom: 15px;
    }

    .back-button {
        bottom: 15px;
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .notification {
        width: 90%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Karanlık Mod Desteği 
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #fff;
    }

    .kategori-card,
    .urun-karti,
    .search-container,
    .sepet-panel {
        background: #2c2c2c;
    }

    .kategori-title {
        color: #fff;
    }

    .kategori-desc {
        color: #aaa;
    }

    .search-input {
        background: #2c2c2c;
        border-color: #444;
        color: #fff;
    }

    .search-input:focus {
        border-color: #2ecc71;
    }

    .fiyat-bolumu {
        background: #222;
    }

    .miktar-btn {
        background: #333;
        color: #2ecc71;
    }

    .miktar-btn:disabled {
        background: #222;
        color: #666;
    }
}
*/
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Arkaplan bulanıklık efekti */
}

/* Modal İçerik */
.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
}

.modal-content label {
    font-size: 0.95em;
    font-weight: 500;
    color: #333;
    margin-top: 15px;
    display: block;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
    outline: none;
}

.modal-content textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

/* Gönder Butonu */
.modal-content .submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #2ecc71;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.modal-content .submit-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.modal-content .submit-btn:active {
    background-color: #219150;
    transform: translateY(0);
}

/* Kapatma Butonu */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #e74c3c;
}

img#barcode {
    height: 56px;
}

.urun-detay-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.urun-bilgi {
    display: flex;
    flex-direction: column;
}

.urun-kodu,
.urun-psf {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
}

.barkod-alani img {
    max-height: 60px;
    object-fit: contain;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2ecc71;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-text {
    color: #666;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.kategori-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.kategori-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kategori-card:hover .kategori-image {
    transform: scale(1.05);
}

/* Alt kategoriler için resim stilleri */
.sub-category-card .sub-category-icon  {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
    padding: 20px;
}

.sub-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Logo Stili */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login-logo {
    width: 100px;
    height: auto;
}

/* Başlık ve Form Elemanları */
.login-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 0.9em;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #3498db;
    outline: none;
}

/* Giriş Butonu */
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.login-button:hover {
    background-color: #27ae60;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .login-container {
        padding: 20px;
        max-width: 90%;
    }

    .login-container h2 {
        font-size: 1.2em;
    }

    .login-logo {
        width: 80px;
    }

    .input-group input {
        padding: 10px;
    }

    .login-button {
        padding: 10px;
        font-size: 0.9em;
    }
}

.logout-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #c0392b;
}


.search-results {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    z-index: 100;
    border-radius: 4px;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.search-results li:hover {
    background-color: #f0f0f0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Bildirim kutusu stili */
.alert-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50; /* Yeşil tonunda arka plan */
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.alert-box.show {
    opacity: 1;
    transform: translateY(0);
}



/* Submit Button Styles */
.submit-btn {
    position: relative;
    padding: 12px 24px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #27ae60;
}

.submit-btn.loading {
    background: #27ae60;
    pointer-events: none;
}

.submit-btn.loading span {
    visibility: hidden;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-right-color: white;
    border-top-color: white;
    animation: button-loading-spinner 0.8s linear infinite;
}

.submit-btn.success {
    background: #2ecc71;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}