/* Role Selection Page Styles - login.aspx */

.role-login-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
}

.role-left-panel {
    flex: 0.6;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 80px 40px 80px;
    position: relative;
}

.role-logo {
    margin-bottom: 80px;
    text-align: center;
    width: 100%;
    margin-top: 0;
}

.role-logo img {
    height: 120px;
    width: auto;
}

.role-section {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.role-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: normal;
    text-align: center;
}

.role-dropdown-container {
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
}

.role-dropdown {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.role-dropdown:focus {
    outline: none;
    border-color: #0066cc;
}

.role-login-button {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    background: #003366;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.role-login-button:hover {
    background: #004080;
}

.role-login-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.role-language-flags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    width: 100%;
}

.role-flag {
    width: 32px;
    height: 24px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.role-flag:hover,
.role-flag.active {
    border-color: #0066cc;
}

.role-privacy-notice {
    margin-top: auto;
    margin-bottom: 20px;
    padding: 15px;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    text-align: center;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    width: 100%;
}

.role-privacy-notice a {
    color: #0066cc;
    text-decoration: underline;
}

.role-privacy-notice a:hover {
    color: #004080;
}

.role-avro-logo {
    text-align: center;
    margin-top: 10px;
}

.role-avro-logo img {
    height: 24px;
    width: auto;
}

.role-right-panel {
    flex: 1.5;
    background: url('/Assets/Images/UTM/UTM.png') center/cover;
    position: relative;
}

.role-right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.3) 0%, rgba(70, 130, 180, 0.1) 100%);
}

/* Additional styles for layout compatibility */
.desktop {
    display: contents;
}

section {
    width: 960px;
    margin: 0 10px auto;
}

.loginFlex {
    display: block;
    align-items: center;
    text-align: center;
}

/* Hide footer elements and ITC branding */
footer,
footer.mobile,
.tooltipBox {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .role-login-container {
        flex-direction: column;
    }

    .role-left-panel {
        padding: 40px 30px;
        align-items: center;
        text-align: center;
    }

    .role-right-panel {
        min-height: 300px;
    }

    .role-avro-logo {
        position: static;
        margin-top: 20px;
    }
}
