:root {
    --primary-color: #740343;
    --secondary-color: #f2f2f2;
    --dark-color: #151e2b;
    --font-size-base: 16px;
    --font-family: 'Inter', serif;
    --border-color: #c2c8d0;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CeraRoundPro';
    src: url('/fonts/CeraRoundProDEMO-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: var(--font-family);
}

#container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
}

#img-container {
    background-size: cover;
    background-position: center;
    width: 40%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.signup-wrapper {
    background-image: url('/images/login-background/main-color/signup-wrapper.svg');
}

.login-wrapper {
    background-image: url('/images/login-background/main-color/login-wrapper.svg');
}


.signup-wrapper #powerd-by-element {
    bottom: 20px;
    right: 50px;
}

.login-wrapper #powerd-by-element {
    bottom: 20px;
    left: 50px;
}

#big-logo {
    font-family: 'CeraRoundPro', sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    margin-left: 20px;
    margin-top: -200px;
}

#powerd-by-element img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

#powerd-by-element {
    font-family: "CeraRoundPro", sans-serif;
    font-weight: 100;
    display: flex;
    font-size: 1.2em;
    color: #F0F2F6;
    opacity: 0.8;
    letter-spacing: 1px;
}

#powerd-by-element a {
    color: #F0F2F6;
    text-decoration: none;
}

#form-container {
    min-width: 60%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#form-container form {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

#form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

#mobile-header {
    display: none;
}

#email,
#password {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 25px;
}

label,
i.fas {
    font-size: 16px;
    color: var(--border-color);
}

.position-relative {
    position: relative;
}

#toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

#form-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 18px;
}

#login-link,
#signup-link {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

#login-link a,
#signup-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.line-with-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.line-with-text::before,
.line-with-text::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

.line-with-text {
    color: #999;
    /* Culoarea textului */
    font-size: 16px;
    /* Dimensiunea textului */
}

.google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #555;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.google-button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
}

.google-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#user-agreement {
    font-size: 10px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

.invalid-feedback {
    margin-left: 10px;
}

#form-notification {
    display: none;
}

@media (max-width: 768px) {
    #img-container {
        display: none;
    }

    #form-container {
        width: 100%;
        flex-direction: column;
        justify-content: start;
    }

    #form-title {
        display: none;
    }

    #mobile-header {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 300px;
        max-height: 40vh;
        background-image: url('/images/login-background/main-color/mobile-header-background.svg');
        background-size: cover;
        background-position: bottom;
    }

    #mobile-header .fa-long-arrow-alt-left {
        color: white;
        font-size: 1.5em;
        margin-left: 20px;
        margin-top: 20px;
        font-weight: 800;
        padding-bottom: 40px;
    }

    #mobile-title {
        display: flex;
        flex-direction: column;
        justify-content: end;
        color: white;
        width: 100%;
        height: 100%;
    }

    #mobile-form-title {
        font-family: "ceraRoundPro", sans-serif;
        font-weight: 700;
        font-size: 2.2em;
    }

    #mobile-form-title,
    #mobile-form-subtitle {
        margin-left: 20px;
    }

    #user-agreement {
        font-size: 11px;
    }

}

/* Stiluri pentru mesaj de succes */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}