.sso-divider {
    display: flex;
    margin-top: 2%;
    width: 100%;
    gap: 10px;
}

.sso-line line {
    stroke: #969393;
    stroke-width: 3;
}

.sso-or-text {
    white-space: nowrap;
    font-weight: bold;
    margin-top: -0.5%;
}

/* SSO Button Styling */
.sso-button-container {
    display: flex;
    margin-top: 1%;
}

.sso-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 470px;
    height: 50px; /* Adjust for proper vertical alignment */
    font-weight: bold;
    text-align: center;
    background-color: #1d4ed8; /* Blue color for both Luma & Hyvä */
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.sso-button:hover {
    text-decoration: none;
}

.sso-button-container a:hover{
    color: white;
    text-decoration: none;
    background-color: #183da4;
}
.sso-button-container a:visited{
    color: white;
    text-decoration: none;
}
.sso-button-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
}

.sso-button-wrapper.has-sso {
        justify-content:center;
}

/* Dynamic Messages with Icons */
.messages {
    margin: 0 20px;
    max-width: calc(100% - 40px);
}

.messages .message {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 100%;
}

.messages .message-icon {
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
    display: inline-block;
}

.messages .message-text {
    flex: 1;
}

.messages .message-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.messages .message-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.messages .message-close svg {
    width: 16px;
    height: 16px;
}

.messages .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

span.message-icon::before {
    display: none !important;
}

/* Responsive spacing for different screen sizes */
@media (max-width: 768px) {
    .messages {
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 480px) {
    .messages {
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .messages .message {
        padding: 10px 12px;
        font-size: 13px;
    }
}