/* ===============================
   BADGE ACTION BUTTONS
=============================== */
.badge-btn {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.badge-btn.copy {
    background: rgba(111,92,255,.15);
    color: #6f5cff;
}

.badge-btn.copy:hover {
    background: rgba(111,92,255,.25);
}

.badge-btn.delete {
    background: rgba(255,77,109,.15);
    color: #ff4d6d;
}

.badge-btn.delete:hover {
    background: rgba(255,77,109,.25);
}

/* table align */
.action-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}


/* ===============================
   LOGIN BUTTON POSITION
=============================== */
.login-btn-wrap {
    margin-top: 18px;          /* turun dikit */
    display: flex;
    justify-content: center;   /* center horizontal */
}

.login-btn-wrap button {
    width: 100%;
    max-width: 220px;          /* biar ga kepanjangan */
}

/* ===============================
   LOGIN CARD (macOS)
=============================== */
.login-card {
    width: 360px;
    padding: 26px 24px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.9),
        rgba(240,238,255,.9)
    );
    box-shadow:
        0 30px 60px rgba(80,60,180,.35),
        inset 0 1px 0 rgba(255,255,255,.7);
}

.login-card h2 {
    font-size: 20px;
    margin-bottom: 18px;
}

/* ERROR */
.err {
    margin-top: 10px;
    font-size: 13px;
    color: #ff3b6b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* CARD LEBIH RAMPING */
.card.big {
    width: 480px;
}

/* UPLOAD CENTER */
.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.upload-box input[type=file],
.upload-box button {
    width: 100%;
}
.footer-love {
    margin-top: 18px;
    font-size: 12px;
    color: #6b63b5;
    text-align: center;
    opacity: .85;
}

.footer-love i {
    color: #ff3b6b;
    margin: 0 4px;
}

.footer-love span {
    color: #3c2fa3;
    font-weight: 500;
}

/* ===============================
   GLOBAL
=============================== */
* {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont;
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #c7b8ff, #6f5cff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1f1f1f;
}

/* ===============================
   CARD
=============================== */
.card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.85),
        rgba(240,238,255,.85)
    );
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(80,60,180,.35);
    text-align: center;
}

.card.big {
    width: 560px;
    max-width: calc(100vw - 32px);
}

/* ===============================
   HEADER
=============================== */
h2 {
    margin: 0 0 18px;
    font-weight: 600;
    font-size: 22px;
    color: #3c2fa3;
}

h2 i {
    margin-right: 6px;
    color: #6f5cff;
}

/* ===============================
   FORM
=============================== */
form {
    margin-bottom: 14px;
}

.row {
    display: flex;
    gap: 10px;
}

.row input {
    flex: 1;
}

/* ===============================
   INPUT
=============================== */
input[type=text],
input[type=password],
input[type=file] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(111,92,255,.25);
    background: linear-gradient(
        180deg,
        #ffffff,
        #f1efff
    );
    box-shadow:
        0 6px 14px rgba(111,92,255,.25),
        inset 0 1px 0 rgba(255,255,255,.7);
    font-size: 14px;
    color: #2a2466;
}

input::placeholder {
    color: #8e89c7;
}

/* ===============================
   BUTTON
=============================== */
button {
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #7b6cff, #5a49d6);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(111,92,255,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

button:hover {
    filter: brightness(1.05);
}

/* ===============================
   TABS BRAND
=============================== */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        #f4f2ff,
        #e8e4ff
    );
    box-shadow: 0 6px 14px rgba(111,92,255,.25);
}

.tab-item.active {
    background: linear-gradient(135deg, #7b6cff, #5a49d6);
    color: #fff;
}

.tab-item a {
    color: inherit;
    text-decoration: none;
    font-size: 13px;
}

.tab-delete {
    color: #ff4d6d;
    font-size: 14px;
}

.tab-delete:hover {
    opacity: .8;
}

/* ===============================
   TABLE
=============================== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 10px;
}

.table tr {
    background: linear-gradient(
        180deg,
        #ffffff,
        #f2f0ff
    );
    box-shadow: 0 6px 14px rgba(111,92,255,.25);
}

.table td {
    padding: 11px 14px;
    font-size: 13px;
    color: #2a2466;
}

.table tr td:first-child {
    border-radius: 14px 0 0 14px;
    text-align: left;
}

.table tr td:last-child {
    border-radius: 0 14px 14px 0;
    text-align: right;
}

.table tr:hover {
    transform: scale(1.01);
    transition: .15s ease;
}

/* ===============================
   ICON BUTTON
=============================== */
.icon-btn {
    color: #ff4d6d;
    font-size: 16px;
    text-decoration: none;
}

.icon-btn:hover {
    filter: brightness(1.1);
}

/* ===============================
   EMPTY STATE
=============================== */
.table td[colspan] {
    text-align: center;
    color: #8e89c7;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 600px) {
    .card.big {
        width: 100%;
        padding: 22px;
    }

    .row {
        flex-direction: column;
    }
}
