/* RESETIME THEMELORE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: #38bdf8; }
.btn-login-nav {
    background: transparent;
    color: #38bdf8;
    border: 1px solid #38bdf8;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-login-nav:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* MAIN CONTENT */
.main-content {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* SKEMA E FORMAS SË HAPUR */
.seksioni-forma {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    margin-bottom: 50px;
}
.forma-header { margin-bottom: 25px; border-bottom: 1px solid #334155; padding-bottom: 15px; }
.forma-header h2 { font-size: 20px; color: #fff; display: flex; align-items: center; gap: 10px; }
.forma-header p { color: #94a3b8; font-size: 13px; margin-top: 4px; }

.fusha-grupi { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.fusha-grupi label { font-size: 13px; color: #cbd5e1; font-weight: 500; }
.fusha-grupi input, .fusha-grupi select, .fusha-grupi textarea {
    background: #0f172a;
    border: 1px solid #334155;
    padding: 12px;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}
.fusha-grupi input:focus, .fusha-grupi select:focus, .fusha-grupi textarea:focus { border-color: #38bdf8; }
.fusha-rresht { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }

/* BUTONI I AI MAGIC */
.pershkrimi-label-container { display: flex; justify-content: space-between; align-items: center; }
.btn-ai-magic {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}
.btn-ai-magic:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(124, 58, 237, 0.5); }

/* BUTONAT DINAMIKË TË POSTIMIT */
.btn-publiko-aktiv {
    width: 100%; background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: white; border: none; padding: 14px; font-size: 16px; font-weight: 600; border-radius: 8px;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}
.btn-publiko-aktiv:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4); filter: brightness(1.1); }

.btn-publiko-auth-kerkesa {
    width: 100%; background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white; border: none; padding: 14px; font-size: 15px; font-weight: 600; border-radius: 8px;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    animation: pulseEffect 2s infinite;
}
.btn-publiko-auth-kerkesa:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5); }

@keyframes pulseEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4); }
    100% { transform: scale(1); }
}

/* KARTELAT ME EFEKTE HOVER */
.seksioni-njoftimeve { margin-top: 40px; }
.seksion-titulli { margin-bottom: 25px; }
.seksion-titulli h2 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.vija-dekorative { width: 60px; hieght: 4px; height: 4px; background: #38bdf8; border-radius: 2px; }

.njoftimet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.karta {
    background: #1e293b; border-radius: 12px; overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #334155; display: flex; flex-direction: column;
}
.karta:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); border-color: #475569; }

.karta-imazhi { position: relative; height: 180px; width: 100%; }
.karta-imazhi img { width: 100%; height: 100%; object-fit: cover; }
.badge-vip { position: absolute; top: 10px; left: 10px; background: #eab308; color: #000; padding: 4px 8px; font-size: 11px; font-weight: bold; border-radius: 4px; }
.badge-thjesht { position: absolute; top: 10px; left: 10px; background: rgba(15,23,42,0.8); color: #fff; padding: 4px 8px; font-size: 11px; border-radius: 4px; }

.karta-permbajtja { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.karta-kategoria { font-size: 11px; text-transform: uppercase; color: #38bdf8; font-weight: bold; margin-bottom: 5px; }
.karta-permbajtja h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.karta-lokacioni { font-size: 12px; color: #94a3b8; margin-bottom: 10px; }
.karta-pershkrimi { font-size: 13px; color: #cbd5e1; line-space: 1.4; margin-bottom: 15px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.karta-fundi { margin-top: auto; border-top: 1px solid #334155; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.qmimi { font-size: 18px; font-weight: 700; color: #22c55e; }

/* MENAXHIMI I POSTIMEVE */
.karta-menaxhimi { display: flex; gap: 8px; margin-top: 12px; border-top: 1px solid #334155; padding-top: 10px; }
.btn-edit, .btn-delete { flex: 1; border: none; padding: 6px; border-radius: 4px; font-size: 12px; font-weight: bold; cursor: pointer; }
.btn-edit { background: #38bdf8; color: #000; }
.btn-delete { background: #ef4444; color: #fff; }
.user-profile-nav { display: flex; align-items: center; gap: 12px; background: rgba(15,23,42,0.6); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }

/* AUTH PAGE SPECIFIC */
.auth-body { display: flex; justify-content: center; align-items: center; padding: 20px; }
.auth-kartela { background: #1e293b; width: 100%; max-width: 400px; padding: 30px; border-radius: 16px; border: 1px solid #334155; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.auth-header { text-align: center; margin-bottom: 25px; }
.auth-header h3 { font-size: 22px; margin-top: 15px; color: #fff; }
.auth-header p { font-size: 13px; color: #94a3b8; margin-top: 5px; }
.input-me-ikon { position: relative; display: flex; align-items: center; }
.input-me-ikon i { position: absolute; left: 12px; color: #64748b; }
.input-me-ikon input { width: 100%; padding-left: 38px !important; }
.btn-auth-veprim { width: 100%; background: #38bdf8; color: #0f172a; border: none; padding: 12px; font-size: 15px; font-weight: bold; border-radius: 8px; cursor: pointer; margin-top: 10px; transition: background 0.2s; }
.btn-auth-veprim:hover { background: #0ea5e9; }
.auth-ndrysho-modalitet { text-align: center; margin-top: 15px; font-size: 13px; }
.auth-ndrysho-modalitet a { color: #38bdf8; text-decoration: none; font-weight: 600; }
.no-data { color: #94a3b8; text-align: center; grid-column: 1/-1; padding: 30px; font-size: 14px; }