/* Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;500&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-selection-container {
    text-align: center;
}

/* Logo and Title Block */
.logo-title-block {
    margin-bottom: 40px;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17.61px;
}

.logo-icon {
    width: 38.7px;
    height: auto;
}

.logo-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 24.86px;
    letter-spacing: 0.45rem;
    color: #FAFAFB;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Main Selection Block */
.selection-block {
    width: 324px;
    background: #1A1A1A;
    border-radius: 18px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.selection-content {
    padding: 30px 18px 0;
    height: calc(100% - 43.2px);
    box-sizing: border-box;
}

.selection-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16.2px;
    letter-spacing: 30%;
    color: #FAFAFB;
    text-align: center;
    margin-bottom: 33.1px;
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13.5px;
    margin-bottom: 17.4px;
}

/* Form Errors */
.form-errors {
    width: 100%;
    margin-bottom: 10px;
}

.error-field {
    color: #C29D78;
    font-weight: 500;
    margin-right: 5px;
}

.error-text {
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1.3;
}

.field-error {
    color: #FFFFFF;
    font-size: 11px;
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border-left: 2px solid #FFFFFF;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.3;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.form-field {
    width: 288px;
    height: 34.2px;
    border-radius: 7.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: #1A1A1A;
    padding: 0 15px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.09px;
    color: rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}

.form-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.09px;
}

.form-field:focus {
    outline: none;
    border-color: #C29D78;
    color: #FAFAFB;
}

.form-field.password-field {
    display: none;
}

/* Error Messages */
.error-message {
    color: #FFFFFF;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    max-width: 288px;
    display: none;
}

.error-message.show {
    display: block;
}





/* Buttons */
.role-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.role-button {
    width: 288px;
    height: 34px;
    border-radius: 9px;
    border: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 10.8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-button.continue {
    background: #C29D78;
    color: #FAFAFB;
}

.role-button.continue:hover {
    background: #B08A65;
    transform: translateY(-1px);
}

.role-button.google {
    background: transparent;
    color: #FAFAFB;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.role-button.google:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.role-button.facebook {
    background: transparent;
    color: #FAFAFB;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.role-button.facebook:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.google-icon,
.facebook-icon {
    width: 14.4px;
    height: 14.4px;
    object-fit: contain;
}

.or-divider {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 10.8px;
    color: #FAFAFB;
    margin: 0;
}

/* Bottom Login Block */
.login-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 324px;
    height: 43.2px;
    background: #1A1A1A;
    border-radius: 0 0 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 10.8px;
    color: #FAFAFB;
    text-align: center;
}

.login-text a {
    color: #FAFAFB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-text a:hover {
    color: #C29D78;
}

/* Divider Line */
.divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 288px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Bottom Links */
.bottom-links {
    margin-top: 22.5px;
    text-align: center;
}

.bottom-links a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 10.8px;
    color: #FAFAFB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #C29D78;
}

.dot-separator {
    display: inline-block;
    width: 2.7px;
    height: 2.7px;
    background: #FAFAFB;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .selection-block {
        width: 90%;
        max-width: 324px;
    }

    .form-field,
    .role-button {
        width: 90%;
        max-width: 288px;
    }

    .login-block {
        width: 100%;
    }

    .divider-line {
        width: 90%;
        max-width: 288px;
    }
}