* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    text-decoration: none; 
}

body { 
    background-color: #0f172a; 
    color: #f8fafc; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* Üst Bar */
header { 
    background: #1e293b; 
    color: #38bdf8; 
    padding: 14px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #334155; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.logo-icon { 
    font-size: 24px; 
    color: #38bdf8; 
}

.header-actions { 
    display: flex; 
    gap: 8px; 
    align-items: center; 
    flex-wrap: wrap; 
}

header button, header a { 
    border: none; 
    padding: 8px 12px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    font-size: 13px; 
    transition: 0.2s; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
}

.nav-btn { 
    background: #334155; 
    color: #f8fafc; 
}

.nav-btn:hover { 
    background: #475569; 
}

.auth-btn { 
    background: #38bdf8; 
    color: #0f172a; 
}

.auth-btn:hover { 
    background: #0284c7; 
    color: white; 
}

/* Ana Konteynır */
.container { 
    padding: 20px; 
    flex: 1; 
    max-width: 800px; 
    width: 100%; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

/* Gizleme Sınıfı */
.hidden { 
    display: none !important; 
}

/* Arama Alanı ve Kart Kutuları */
.search-section { 
    background: #1e293b; 
    padding: 16px; 
    border-radius: 12px; 
    border: 1px solid #334155; 
}

.search-box { 
    display: grid; 
    grid-template-columns: 1fr 1fr auto; 
    gap: 10px; 
}

.search-box select, .search-box button, .search-box input { 
    padding: 10px; 
    border-radius: 8px; 
    border: 1px solid #334155; 
    background: #0f172a; 
    color: white; 
    font-size: 14px; 
}

.search-box button { 
    background: #38bdf8; 
    color: #0f172a; 
    font-weight: bold; 
    cursor: pointer; 
}

/* Başlık ve Favoriler */
.location-header { 
    margin-top: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #334155; 
    padding-top: 12px; 
}

.location-header h3 { 
    color: #38bdf8; 
}

#favBtn { 
    background: transparent; 
    border: 1px solid #eab308; 
    color: #eab308; 
    padding: 6px 12px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 13px; 
}

#favBtn.active { 
    background: #eab308; 
    color: #0f172a; 
}

.favorites-section { 
    background: #1e293b; 
    padding: 14px; 
    border-radius: 12px; 
    border: 1px solid #334155; 
}

.fav-chips { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
    margin-top: 10px; 
}

.fav-chip { 
    background: #334155; 
    color: #f8fafc; 
    padding: 6px 12px; 
    border-radius: 20px; 
    font-size: 13px; 
    cursor: pointer; 
}

/* Hava Durumu ve Yorum Kartları */
.section-title { 
    display: flex; 
    justify-content: space-between; 
    align-items: baseline; 
    margin-bottom: 12px; 
}

.subtitle { 
    font-size: 12px; 
    color: #94a3b8; 
}

.weather-grid, .comments-full-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.weather-card { 
    background: #1e293b; 
    border-radius: 12px; 
    padding: 16px; 
    border: 1px solid #334155; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); 
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 12px; 
}

.day-title { 
    font-size: 16px; 
    font-weight: bold; 
    color: #38bdf8; 
}

.card-details { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    font-size: 14px; 
    color: #cbd5e1; 
}

.placeholder-text { 
    text-align: center; 
    color: #94a3b8; 
    padding: 30px; 
}

/* Yorum Yapma & Konum/Görsel Stilleri */
.comment-input-area { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-bottom: 15px; 
}

.comment-loc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.comment-select, .comment-input-text {
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.comment-input-area textarea { 
    background: #0f172a; 
    border: 1px solid #334155; 
    color: white; 
    padding: 10px; 
    border-radius: 8px; 
    height: 80px; 
    font-size: 14px; 
    outline: none; 
    resize: vertical; 
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-btn {
    background: #334155;
    color: #38bdf8;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.file-upload-btn:hover {
    background: #475569;
}

.file-name-text {
    font-size: 12px;
    color: #94a3b8;
}

.comment-input-area button { 
    background: #10b981; 
    color: white; 
    border: none; 
    padding: 10px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    width: fit-content; 
}

.comment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-loc-badge {
    background: #334155;
    color: #38bdf8;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.comment-img-container {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 250px;
    border: 1px solid #334155;
}

.comment-uploaded-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Modal Stilleri */
.modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
}

.modal-content { 
    background: #1e293b; 
    padding: 24px; 
    border-radius: 12px; 
    width: 320px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    border: 1px solid #334155; 
}

.modal-content input { 
    background: #0f172a; 
    border: 1px solid #334155; 
    color: white; 
    padding: 10px; 
    border-radius: 8px; 
}

.modal-content button { 
    background: #38bdf8; 
    color: #0f172a; 
    border: none; 
    padding: 10px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
}

.auth-switch-text {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    margin-top: 5px;
}

.auth-switch-text a {
    color: #38bdf8;
    font-weight: bold;
}

.close-btn { 
    background: #ef4444 !important; 
    color: white !important; 
}

/* Profil Modalı / Kartı Stilleri */
.profile-info-box {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 6px;
}

.profile-field:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.field-label {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.field-value {
    color: #f8fafc;
    word-break: break-all;
}