@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e293b;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-dark: rgba(15, 23, 42, 0.8);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-glass: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-premium: 16px;
    --font-inter: 'Inter', sans-serif;
}

.premium-widget {
    font-family: var(--font-inter);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-premium);
    box-shadow: var(--shadow-premium);
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.premium-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

/* Hava Durumu Spesifik */
.weather-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ŞEHİR SEÇİCİ REDESIGN */
.city-selector {
    position: relative;
    width: 100%;
}

.city-selector select {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Mavi Çerçeveyi Kaldır ve Premium Efekt Ekle */
.city-selector select:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.city-selector select:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
}

.weather-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temp-value {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.weather-icon img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 8px 12px rgba(59, 130, 246, 0.2));
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 10px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.detail-item strong {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Futbol Spesifik */
.football-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.football-table th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.football-table td {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.pos-circle {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pos-1 { background: #dcfce7; color: #15803d; }
.pos-2 { background: #dcfce7; color: #15803d; }
.pos-last { background: #fee2e2; color: #b91c1c; }

/* Responsive */
@media (max-width: 640px) {
    .temp-value { font-size: 2.2rem; }
    .premium-widget { padding: 18px; }
}
