* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #f7ead0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.45), rgba(0,0,0,.88)),
        linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.9)),
        url("/assets/hero-bg.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.panel {
    width: min(460px, 100%);
    background: rgba(5,4,3,.82);
    border: 1px solid rgba(218,161,72,.36);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 30px 100px rgba(0,0,0,.78);
    backdrop-filter: blur(12px);
}

.panel.wide {
    width: min(920px, 100%);
}

.logo {
    display: block;
    width: 135px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 18px rgba(218,151,45,.35));
}

h1 {
    margin: 0 0 24px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 38px;
    color: #fff0d2;
}

h2 {
    margin: 28px 0 12px;
    color: #d99432;
    text-align: center;
    font-size: 22px;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid rgba(218,161,72,.28);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 15px;
}

button,
.button-link {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(180deg, #ffe1a0, #b97024);
    color: #1b1105;
}

.msg {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    text-align: center;
}

.error {
    background: rgba(180,40,40,.35);
}

.success {
    background: rgba(40,140,70,.35);
}

.links {
    margin-top: 24px;
    text-align: center;
}

.links p {
    margin: 10px 0 0;
}

a {
    color: #e5b665;
    text-decoration: none;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(218,161,72,.22);
    background: rgba(0,0,0,.24);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    text-align: left;
}

th {
    color: #d99432;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: 0;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.actions a {
    flex: 1;
    min-width: 170px;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    background: rgba(0,0,0,.34);
    border: 1px solid rgba(218,161,72,.36);
}

@media (max-width: 650px) {
    .panel {
        padding: 26px 20px;
    }

    h1 {
        font-size: 32px;
    }

    th, td {
        padding: 11px;
        font-size: 14px;
    }
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 36px;
}

.profile-actions a {
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(218,161,72,.28);
    color: #f7ead0;
    text-decoration: none;
}

.profile-actions a:first-child {
    background: linear-gradient(180deg, #ffe1a0, #b97024);
    color: #1b1105;
    font-weight: 700;
}

.profile-actions .logout {
    color: #ffd0d0;
    border-color: rgba(180,60,60,.45);
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 36px;
}

.profile-actions a {
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(218,161,72,.28);
    color: #f7ead0;
    text-decoration: none;
}

.profile-actions a:first-child {
    background: linear-gradient(180deg, #ffe1a0, #b97024);
    color: #1b1105;
    font-weight: 700;
}

.profile-actions .logout {
    color: #ffd0d0;
    border-color: rgba(180,60,60,.45);
}
