@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --v-blue: #30B0B4;
    --v-green: #A4CD3F;
    --v-dark: #0f172a;
    --v-border: #e2e8f0;
    --v-bg-light: #f8fafc;
    /* SHADOW OU MANDE A */
    --v-shadow-hover: 0 28px 40px 0 rgba(2, 8, 22, 0.1);
}

.v-app {
    max-width: 850px;
    margin: 40px auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--v-dark);
    -webkit-font-smoothing: antialiased;
}

/* --- CARDS DESIGN (FIN AK ELEGANT) --- */
.v-card {
    background: #ffffff;
    border: 1px solid var(--v-border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02); /* Lonbraj de baz trè dous */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 0;
}

/* SHADOW SOU HOVER JAN OU TE MANDE L LA */
.v-card:hover {
    border-color: var(--v-blue);
    box-shadow: var(--v-shadow-hover);
    transform: translateY(-6px);
}

/* HEADERS & ICONS FIX */
.v-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.v-card-head i {
    color: var(--v-blue);
    background: rgba(48, 176, 180, 0.1); /* 10% opacity pou l parèt clean */
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.1rem;
}

.v-card-head h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- INPUTS DESIGN (PA MASTOK) --- */
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v-inp label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

input[type="text"], input[type="email"], input[type="password"], select {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    height: 50px;
    transition: all 0.2s;
    color: #334155;
}

input:focus, select:focus {
    border-color: var(--v-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(48, 176, 180, 0.12);
}

/* SLUG BOX FIX */
.v-slug-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 16px;
    height: 50px;
}
.v-slug-box span { color: #94a3b8; font-weight: 500; font-size: 0.9rem; margin-right: 4px; }
.v-slug-box input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: 100% !important;
    font-weight: 600;
    color: var(--v-blue);
    box-shadow: none !important;
}

/* --- LINKS ROW DESIGN --- */
.v-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--v-border);
    padding: 12px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.v-sel-wrap { flex: 0 0 160px; }
.v-sel-wrap select { background: #f8fafc; border: none; font-weight: 600; height: 44px; font-size: 0.9rem; }

.v-field { flex: 1; }
.v-field input { border: none; box-shadow: none; font-size: 0.95rem; width: 100%; }

.v-lbl {
    flex: 0 0 130px;
    border-left: 2px solid #f1f5f9;
    padding-left: 15px;
}
.v-lbl input { border: none; font-size: 0.85rem; color: #64748b; background: transparent; width: 100%; }

/* DELETE BUTTON DESIGN */
.v-del {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff1f2;
    color: #f43f5e;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.2s;
}
.v-del:hover { 
    background: #f43f5e; 
    color: #fff; 
    transform: rotate(90deg); 
}

/* --- BUTTONS --- */
.v-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.v-btn.primary {
    background: var(--v-blue);
    color: #fff;
    width: 100%;
    margin-top: 10px;
}
.v-btn.primary:hover {
    background: #258e91;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(48, 176, 180, 0.4);
}

.v-btn.dashed {
    width: 100%;
    background: #fff;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    margin-top: 8px;
    padding: 16px;
}
.v-btn.dashed:hover {
    border-color: var(--v-green);
    color: var(--v-green);
    background: #fdfef9;
}

.v-badge {
    background: #f0fdfa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--v-blue);
    border: 1px solid rgba(48, 176, 180, 0.2);
}

@media(max-width: 768px) {
    .v-grid { grid-template-columns: 1fr; }
    .v-row { flex-wrap: wrap; padding: 16px; }
    .v-sel-wrap, .v-field, .v-lbl { flex: 1 1 100%; width: 100%; }
    .v-lbl { border-left: none; border-top: 1px solid #f1f5f9; padding: 10px 0 0 0; }
}