* {
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #3b1d5a, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    background: #1e1b3a;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0,0,0,.5);
    padding: 40px 35px;
    color: #fff;
}

.auth-wrapper h2 {
    text-align: center;
    margin-bottom: 5px;
}

.auth-wrapper p.subtitle {
    text-align: center;
    color: #b9c0ff;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    background: #2f2b63;
    border-radius: 30px;
    padding: 12px 18px;
    margin-bottom: 18px;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
}

.form-group input::placeholder {
    color: #c7cbff;
}

.btn-main {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #ff2ea6, #ff6ec7);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.btn-main:hover {
    opacity: .85;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #9aa4ff;
    text-decoration: none;
    font-size: 14px;
}

.alert {
    background: #0f766e;
    color: #ecfeff;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.alert.error {
    background: #7f1d1d;
    color: #fee2e2;
}
/* ===== CARD ===== */
.card-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-top: 20px;
}

/* ===== TABLE ===== */
.pro-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.pro-table thead th {
    background: #f5f7fb;
    color: #333;
    text-align: left;
    padding: 12px;
    font-weight: 600;
}

.pro-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.pro-table tbody tr:hover {
    background: #f9fbff;
}

/* ===== BADGES ===== */
.badge-income {
    background: #e8f7ee;
    color: #1e7e34;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* ===== ACTION BUTTONS ===== */
.action-btn {
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-right: 4px;
}

.btn-edit {
    background: #eef2ff;
    color: #1d4ed8;
}

.btn-delete {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-edit:hover {
    background: #dbeafe;
}

.btn-delete:hover {
    background: #fecaca;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pro-table thead {
        display: none;
    }

    .pro-table tr {
        display: block;
        margin-bottom: 15px;
    }

    .pro-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }

    .pro-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
    }
}

