* {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.main--auth {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth__container {
    background-color: transparent;
    padding: 1.95em;
    border-radius: 3px;
    width: 400px;
}

.auth__container--logged-in {
    width: 100%;
}

.tabs {
    display: flex;
    gap: 1.95em;
    margin-bottom: 1.95em;
}

.tab__btn {
    font-size: 14px;
    flex: 1;
    padding: 1em 1.95em;
    border: none;
    background-color: #3c3a3f;
    color: white;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.tab__btn:hover {
    background-color: #3e571f;
}

.tab__btn--active {
    border: 1px solid #618930;
    background: linear-gradient(45deg, #618930, #88c131);
}

.auth__form {
    display: none;
}

.auth__form--active {
    display: block;
}

.form__group {
    margin-bottom: 1.5em;
}

.form__group label {
    display: block;
    color: white;
    margin-bottom: 0.5em;
}

.form__group input {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #272629;
    border-radius: 3px;
    background-color: #272629;
    color: white;
}

.form__group input:focus {
    outline: none;
    background-color: #3e571f;
    border-color: #87c232;
}

.auth__btn {
    width: 100%;
    padding: 1em 1.95em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    transition: background-color 0.3s;

    border: 1px solid #618930;
    background: linear-gradient(45deg, #618930, #88c131);
}

.tab__btn--active:hover, .auth__btn:hover {
    background: linear-gradient(45deg, #88c131, #618930);
    border: #87c232 1px solid;
    cursor: pointer;
}

.profile__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.95em;
}

.profile__title {
    font-size: 2.44em;
    color: #88c131;
    line-height: 1.4;
    font-weight: 400;
    font-style: italic;
    font-family: "Bebas Neue", sans-serif;
    margin: 0;
}

.profile__info {
    margin-bottom: 1.95em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    padding: 1em 0;
}

.info__group {
    background: linear-gradient(135deg, #1b1a1d 0%, #2e2d2e 100%);
    border-radius: 8px;
    padding: 1.2em;
    border: 1px solid rgba(136, 193, 49, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info__header {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: 1em;
}

.info__icon {
    width: 24px;
    height: 24px;
    color: #88c131;
}

.info__group label {
    display: block;
    color: #88c131;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.info__group p {
    width: 100%;
    padding: 0.8em;
    border: 1px solid rgba(136, 193, 49, 0.2);
    border-radius: 4px;
    background-color: rgba(39, 38, 41, 0.5);
    color: white;
    font-size: 1.1em;
    margin: 0;
    transition: all 0.3s ease;
}

.info__coins {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: goldenrod !important;
    font-weight: bold;
}

.coins__icon {
    width: 1.2em;
    height: 1.2em;
    stroke: goldenrod;
}

.profile__actions {
    display: flex;
    gap: 1em;
}

.auth__btn--danger {
    background-color: #bf616a;
}

.auth__btn--danger:hover {
    background-color: #a54e57;
}

.auth__message {
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.auth__message.error {
    display: block;
    color: #c62828;
}

.auth__message.success {
    display: block;
    color: #2e7d32;
}

/* Styles pour la section des curseurs */
.profile__section {
    margin-top: 2em;
    margin-bottom: 2em;
}

.profile__section__title {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.56em;
    line-height: 1.5;
    color: white;
    margin-bottom: 1em;
}

.profile__cursors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.95em;
    margin-bottom: 1.95em;
}

.profile__cursor__item {
    background-color: #2e2d2e;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile__cursor__item:hover {
    transform: translateY(-5px);
}

.profile__cursor__preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
}

.profile__cursor__image {
    width: 30px;
    height: 30px;
}

.profile__cursor__button {
    width: 100%;
    padding: 0.8em;
    border: none;
    font-family: "Jura", sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.profile__cursor__button--use {
    border: 1px solid #618930;
    background: linear-gradient(45deg, #618930, #88c131);
    color: white;
}

.profile__cursor__button--use:hover {
    background: linear-gradient(45deg, #88c131, #618930);
    border: #87c232 1px solid;
    cursor: pointer;
}

.profile__cursor__button--current {
    background: linear-gradient(45deg, goldenrod, rgb(189, 135, 0));
    border: goldenrod 1px solid;
    color: white;
}

.profile__cursor__button--current:hover {
    background: linear-gradient(45deg, rgb(189, 135, 0), goldenrod);
    border: goldenrod 1px solid;
    color: white;
}


.profile__cursor__button--locked {
    background-color: #3d3c3d;
    color: #8c8c8c;
    cursor: default;
}

.logout__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    padding: 0.8em 1.2em;
    background: linear-gradient(45deg, rgb(255, 100, 100), rgb(185, 55, 55));
    border: 1px solid rgb(185, 55, 55);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.logout__button:hover {
    background: linear-gradient(45deg, rgb(185, 55, 55), rgb(255, 100, 100));
}

.logout__button:active {
    transform: translateY(0);
}

.logout__icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.logout__button:hover .logout__icon {
    transform: translateX(3px);
} 