* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #10131f;
    color: #ffffff;
}

a {
    color: inherit;
}

.page {
    min-height: 100vh;
    padding: 28px;
}

.center-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    width: 100%;
    background: #181d2f;
    border: 1px solid #2b3352;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.card-small {
    max-width: 580px;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #26345f;
    color: #9fb7ff;
    font-size: 14px;
    margin-bottom: 18px;
}

h1 {
    font-size: 38px;
    margin: 0 0 16px;
}

h2 {
    font-size: 26px;
    margin: 0 0 18px;
}

p {
    color: #c6cce0;
    font-size: 17px;
    line-height: 1.6;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.nav-title {
    font-size: 22px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    font-size: 15px;
}

.button-primary {
    background: #4f7cff;
    color: white;
}

.button-secondary {
    background: #252b40;
    color: white;
    border: 1px solid #3b4568;
}

.button-danger {
    background: #7a2633;
    color: white;
}

.button-full {
    width: 100%;
}

.buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #dce3ff;
    font-weight: bold;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #3b4568;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #6f92ff;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #111827;
    border: 1px solid #3b4568;
}

.checkbox-row input {
    width: auto;
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.alert-success {
    background: #12381f;
    color: #a8ffc0;
}

.alert-error {
    background: #421717;
    color: #ffb3b3;
}

.alert-info {
    background: #111827;
    color: #9fb7ff;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.info-box {
    background: #111827;
    border: 1px solid #2b3352;
    border-radius: 14px;
    padding: 16px;
}

.info-label {
    color: #8f9abd;
    font-size: 13px;
    margin-bottom: 6px;
}

.info-value {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.footer-note {
    margin-top: 22px;
    color: #8f9abd;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 760px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 30px;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
    }
}