/* ======================================================
   DESEJOS - ESTILO INTEGRAPOLI
   ====================================================== */

/* ===== CONTAINER FORM ===== */

.form-wrapper {
    max-width: 750px;
    margin: 60px auto;
    background: rgba(17, 24, 39, 0.97);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* ===== FORM STRUCTURE ===== */

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.field label {
    margin-bottom: 8px;
    font-family: var(--font-vt323);
    font-size: 22px;
    color: var(--light-text);
}

.row {
    display: flex;
    gap: 24px;
}

.field.small {
    flex: 1;
}

/* ===== INPUTS ===== */

textarea,
input {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-size: 16px;
    transition: 0.2s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

textarea:focus,
input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* ===== CHECKBOX ===== */

.checkbox-field {
    display: flex;
    align-items: flex-end;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-vt323);
    font-size: 22px;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
}

.hidden {
    display: none;
}

/* ===== BUTTON ===== */

.full {
    width: 100%;
    margin-top: 25px;
}

.btn-integrapoli {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: var(--font-retro);
    font-size: 12px;
    letter-spacing: 1px;
    transition: 0.25s ease;
    text-decoration: none; /* remove underline for anchor buttons */
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.btn-danger {
    background: #7f1d1d;
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.4);
}

/* Secondary button style (blue) matching project identity */
.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(41, 132, 185, 0.35);
}

/* ======================================================
   FEED - CARDS
   ====================================================== */

.feed-grid {
    display: grid;
    /* vertical single-column feed */
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.wish-card {
    background: rgba(15, 23, 42, 0.97);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 45px rgba(99, 102, 241, 0.4);
}

/* ===== TOP INFO ===== */

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

.wish-points {
    font-family: var(--font-retro);
    font-size: 18px;
    color: var(--primary-color);
}

/* ===== DESCRIPTION ===== */

.wish-description {
    font-family: var(--font-vt323);
    font-size: 24px;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--light-text);
}

/* ===== DATES ===== */

.wish-dates {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.wish-dates strong {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== BADGES ===== */

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--font-retro);
}

.active-badge {
    background: #064e3b;
    color: #34d399;
}

.expired-badge {
    background: #7f1d1d;
    color: #f87171;
}

/* ===== ADMIN ACTIONS ===== */

.admin-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.small-btn {
    font-size: 10px;
    padding: 8px 14px;
}

/* ===== EXPIRED CARD ===== */

.expired {
    opacity: 0.55;
    filter: grayscale(30%);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 768px) {

    .row {
        flex-direction: column;
    }

    .feed-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px;
    }
}