/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Resetting default styling and setting font-family */


/* Login form styling */
.login_form {
    width: 100%;
    max-width: 435px;
    background: #111111;
    border-radius: 6px;
    padding: 41px 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.login_form h3 {
    font-size: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 34px;
}

/* Google & Apple button styling */

.login_form .login_option {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.login_form .login_option .option {
    width: calc(100% / 2 - 12px);
}

.login_form .login_option .option a {
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #19191a;
    border: 1px solid #2a2a2b;
    border-radius: 5px;
    margin: 34px 0 24px 0;
    text-decoration: none;
    color: #f7f7f7;
    font-weight: 500;
    transition: 0.2s ease;
}

.login_form .login_option .option a:hover {
    background: #FF6600;
    border-color: #FF6600;
}

.login_form .login_option .option a img {
    max-width: 25px;
}

.login_form p {
    text-align: center;
    font-weight: 500;
}

.login_form .separator {
    position: relative;
    margin-bottom: 24px;
}

/* Login option separator styling */
.login_form .separator span {
    background: #111111;
    z-index: 1;
    padding: 0 10px;
    position: relative;
}

.login_form .separator::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    height: 1px;
    background: #C2C2C2;
    display: block;
}

form .input_box label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Input field styling */
form .input_box input {
    width: 100%;
    height: 57px;
    border: 1px solid #2a2a2b;
    border-radius: 5px;
    outline: none;
    background: #19191a;
    color: #f7f7f7;
    font-size: 17px;
    padding: 0px 20px;
    margin-bottom: 25px;
    transition: 0.2s ease;
}

form .input_box input:focus {
    border-color: #FF6600;
}

form .input_box .password_title {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

form .input_box {
    position: relative;
}

a {
    text-decoration: none;
    color: #FF6600;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Login button styling */
form button[type="submit"] {
    width: 100%;
    height: 56px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: #FF6600;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    border: #2a2a2b 1px solid;
    cursor: pointer;
    margin-bottom: 28px;
    transition: 0.3s ease;
}

form button[type="submit"]:hover {
    background: #FF6600;
    border-color: #FF6600;
    box-shadow: 0 0 15px rgba(226, 94, 6, 0.977);
}

/* Forzar fondo oscuro y texto claro cuando el navegador autocompleta el campo */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #f7f7f7 !important;
    -webkit-box-shadow: 0 0 0px 1000px #19191a inset !important;
    box-shadow: 0 0 0px 1000px #19191a inset !important;
    background-color: #19191a !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* --- MODAL PERFIL LEMASTIC --- */
.sf-profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 177%;
    height: 77%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

@media (max-width: 500px) {
    .sf-profile-modal-overlay {
        width: 100%;
        height: 100%;
    }
}

.sf-profile-modal {
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    font-family: 'Inter', 'Barlow', sans-serif;
    animation: sfSlideUp 0.3s ease;
}

.sf-profile-header {
    background: #2a2a2a;
    padding: 35px 20px 25px 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

.sf-profile-avatar-large {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid #555;
    background: #1a1a1a;
    color: #d4af37;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sf-profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-profile-name {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.sf-profile-email {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #bbb;
}

.sf-profile-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
}

.sf-profile-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.sf-profile-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.sf-btn-dark {
    background: #1a1a1a;
    color: #fff;
}

.sf-btn-red {
    background: #e74c3c;
    color: #fff;
}

.sf-btn-light {
    background: #f2f2f2;
    color: #333;
}

@keyframes sfSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}