.haritaoy-background {
    background: fixed;
    background-size: cover;
    background-position: center;
    background-image: url('/files/images/haritaoy-backgorund.jpg');
    filter: brightness(0.6);
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.haritaoy-content {
    position: relative;
    z-index: 1;
}

.haritaoy-container {
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.haritaoy-baslik {
    font-family: 'HiJack', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.harita-kutu {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.harita-kutu:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.harita-resim-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.harita-resim {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.harita-kutu:hover .harita-resim {
    filter: brightness(1);
}

.harita-adi {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    z-index: 10;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.oy-ver-butonu {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.oy-ver-butonu:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

.oy-ver-butonu:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.oy-sayisi-kutucuk {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 92, 246, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 5;
}

.oylama-kapali-mesaj {
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.oylama-kapali-mesaj h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fca5a5;
    margin-bottom: 10px;
}

.oylama-kapali-mesaj p {
    font-size: 1.1rem;
    color: #fee2e2;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(26, 26, 31, 0.95);
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.modal-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.modal-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.02);
}

.oylamayi-baslat-butonu {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.oylamayi-baslat-butonu:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.5);
}

.buton-container-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.sonraki-oylama-butonu,
.sonuclar-butonu {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sonraki-oylama-butonu:hover,
.sonuclar-butonu:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.sonraki-oylama-butonu:active,
.sonuclar-butonu:active {
    transform: translateY(0);
}

.sonraki-oylama-butonu:disabled,
.sonuclar-butonu:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sifirla-butonu {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sifirla-butonu:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.5);
}

.oy-vermeyenler-container,
.oylar-listesi-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.oy-vermeyenler-title,
.oylar-listesi-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fbbf24;
}

.oy-vermeyen-kullanici {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
}

.oy-vermeyen-kullanici img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fbbf24;
}

.oy-detay-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 4px solid #8b5cf6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oy-detay-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8b5cf6;
}

.sonuclar-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.secilen-harita-item {
    background: rgba(26, 26, 31, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.secilen-harita-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.secilen-harita-header img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #8b5cf6;
}

.secilen-harita-baslik {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.oy-veren-kullanici {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 5px;
    display: inline-flex;
}

.oy-veren-kullanici img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #8b5cf6;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.toggle-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e5e7eb;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #6b7280;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #8b5cf6;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

