.header-account {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.header-login {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-login input {
    width: 105px;
    height: 37px;
    padding: 0 10px;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid #444;
    border-radius: 4px;
    outline: none;
    color: #fff;
    font-size: 11px;
}

.header-login input:focus {
    border-color: #c39a56;
}

.header-login button,
.register-button {
    height: 37px;
    padding: 0 13px;
    background: linear-gradient(135deg, #98733b, #c39a56);
    border: 1px solid #d0aa69;
    border-radius: 4px;
    color: #17130d;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
}

.header-login button:hover,
.register-button:hover {
    background: linear-gradient(135deg, #c39a56, #e2c17f);
    transform: translateY(-1px);
}

.register-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(5px);
}

.register-modal.active {
    display: flex;
}

.register-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 35px;
    background: linear-gradient(145deg, #292a30, #17181c);
    border: 1px solid rgba(195, 154, 86, 0.55);
    border-radius: 9px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
}

.register-modal-content h2 {
    margin-bottom: 25px;
    color: #e3c17e;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 28px;
    line-height: 1;
}

.modal-close:hover {
    color: #e3c17e;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-form input,
.account-form select {
    width: 100%;
    padding: 13px;
    background: #17181c;
    border: 1px solid #414147;
    border-radius: 5px;
    outline: none;
    color: #fff;
    font-size: 13px;
}

.account-form input:focus,
.account-form select:focus {
    border-color: #c39a56;
}

.account-form button {
    padding: 13px;
    background: linear-gradient(135deg, #98733b, #c39a56);
    border: 1px solid #d0aa69;
    border-radius: 5px;
    color: #17130d;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
}

.account-form button:hover {
    filter: brightness(1.15);
}

.error-msg,
.success-msg {
    margin-bottom: 12px;
    padding: 11px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
}

.error-msg {
    background: rgba(160, 50, 50, 0.15);
    border: 1px solid rgba(220, 80, 80, 0.4);
    color: #ff8585;
}

.success-msg {
    background: rgba(70, 150, 90, 0.15);
    border: 1px solid rgba(90, 190, 110, 0.4);
    color: #8cdb9b;
}

/* Páginas de conta */

.account-container {
    width: 100%;
    max-width: 1000px;
    margin: 35px auto;
    padding: 0 20px;
}

.account-container .center {
    width: 100%;
}

.account-container h2,
.account-container h3 {
    margin-bottom: 18px;
    color: #e3c17e;
}

.account-container p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.6;
}

.account-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #98733b, #c39a56);
    border-radius: 5px;
    color: #17130d;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn.logout {
    background: #38383d;
    border: 1px solid #555;
    color: #ddd;
}

.char-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.char-table th,
.char-table td {
    padding: 13px;
    border-bottom: 1px solid #38383d;
    text-align: left;
}

.char-table th {
    color: #e3c17e;
    background: #292a30;
}

.char-table td {
    color: #ccc;
}

@media (max-width: 1100px) {
    .header-account {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-login {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-login input {
        width: 125px;
    }

    .register-modal-content {
        padding: 28px 20px;
    }
}

.header-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header-user span,
.header-user a {
    display: block;
    text-align: right;
}

.support-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #a77b32, #75501d);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #c49a50;
    border-radius: 6px;
    transition: 0.2s ease;
}

.support-button:hover {
    background: linear-gradient(135deg, #c49a50, #946b2b);
    transform: translateY(-2px);
}

.support-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    color: #e5e0d5;
}

.support-header {
    text-align: center;
    margin-bottom: 30px;
}

.support-header h2 {
    color: #c49a50;
    margin-bottom: 10px;
}

.support-header p {
    color: #aaa;
}

.support-panel {
    background: #171717;
    border: 1px solid #393126;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.support-panel h3 {
    color: #c49a50;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #393126;
    padding-bottom: 12px;
}

.support-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.support-field label {
    color: #d6b878;
    margin-bottom: 8px;
    font-weight: bold;
}

.support-field input,
.support-field select,
.support-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: #101010;
    color: #eee;
    border: 1px solid #484033;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    outline: none;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    border-color: #c49a50;
}

.support-field textarea {
    resize: vertical;
    min-height: 130px;
}

.support-field small {
    color: #999;
    margin-top: 7px;
}

.support-submit,
.support-view-button {
    display: inline-block;
    background: linear-gradient(135deg, #a77b32, #75501d);
    border: 1px solid #c49a50;
    border-radius: 6px;
    color: #fff;
    padding: 12px 22px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.support-submit:hover,
.support-view-button:hover {
    background: linear-gradient(135deg, #c49a50, #946b2b);
    transform: translateY(-2px);
}

.support-success,
.support-error {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.support-success {
    background: #183323;
    border: 1px solid #326b43;
    color: #9de0ad;
}

.support-error {
    background: #351b1b;
    border: 1px solid #773737;
    color: #ffaaaa;
}

.support-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.support-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.support-table th {
    background: #242018;
    color: #d6b878;
    text-align: left;
    padding: 13px;
}

.support-table td {
    padding: 13px;
    border-bottom: 1px solid #393126;
    color: #ddd;
}

.support-table tr:hover td {
    background: #201e1a;
}

.support-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-open {
    background: #49391d;
    color: #e9c36e;
}

.status-waiting_support {
    background: #49391d;
    color: #e9c36e;
}

.status-waiting_player {
    background: #1d3549;
    color: #8dcaff;
}

.status-closed {
    background: #303030;
    color: #aaa;
}

.support-empty {
    color: #999;
    text-align: center;
    padding: 25px;
}

@media (max-width: 700px) {

    .support-container {
        width: 95%;
        margin: 20px auto;
    }

    .support-panel {
        padding: 16px;
    }

    .support-header h2 {
        font-size: 22px;
    }

}