@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0e1015;
    --card-bg: rgba(255, 255, 255, 0.04);
    --input-bg-color: #1a1d24;

    --text-color: #e5e7eb;
    --placeholder-color: #8b8f9c;

    --border-color: rgba(255,255,255,0.08);

    --accent-color: #6366f1;
    --accent-glow: rgba(99,102,241,0.6);

    --success-color: #22c55e;
    --danger-color: #ef4444;
}

/* ===============================
   🌌 BODY
================================ */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(
        90deg,
        rgba(10, 4, 4, 1) 0%,
        rgba(37, 42, 99, 1) 98%
    );
    color: var(--text-color);
    margin: 0;
    padding: 0;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   🧾 CARD DO USUÁRIO
================================ */
.user-card {
    width: 100%;
    max-width: 420px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

/* ===============================
   🏷️ TÍTULO
================================ */
.user-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ===============================
   📌 CAMPOS
================================ */
.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.field label {
    font-size: 0.85rem;
    color: var(--placeholder-color);
    margin-bottom: 6px;
}

.field input {
    background: var(--input-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.field input::placeholder {
    color: var(--placeholder-color);
}

.field input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.field input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===============================
   🧷 BADGE PREMIUM
================================ */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.badge.premium {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.badge.free {
    background: rgba(255,255,255,0.08);
    color: var(--placeholder-color);
    border: 1px solid var(--border-color);
}

/* ===============================
   💾 BOTÃO SALVAR
================================ */
.buttons{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

a{
    margin-top: 10px;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #ff0000, #ff006a);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 20px #da3c7e;
}

#saveBtn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

#saveBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

#saveBtn:active {
    transform: scale(0.98);
}

/* ===============================
   📣 STATUS
================================ */
#statusMsg {
    margin-top: 12px;
    font-size: 0.85rem;
    text-align: center;
}
