/**
 * Trasix Login Module Styles
 * 
 * @package    mod_trasix_login
 * @author     Omar
 * @copyright  2025 Omar
 */

.mod-trasix-login {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.mod-trasix-loggedin {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trasix-login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #D81B42;
    font-size: 20px;
    font-weight: bold;
}

.trasix-login-container {
    position: relative;
}

.trasix-step {
    display: none;
    margin-bottom: 15px;
}

.trasix-step.active {
    display: block;
}

.trasix-form-group {
    margin-bottom: 15px;
}

.trasix-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.trasix-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.trasix-input:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.trasix-button-group {
    text-align: center;
    margin-top: 15px;
}

.trasix-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.trasix-btn-primary {
    background-color: #D81B42;
    color: white;
}

.trasix-btn-primary:hover {
    background-color: #005a87;
}

.trasix-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.trasix-btn-secondary:hover {
    background-color: #545b62;
}

.trasix-btn-success {
    background-color: #28a745;
    color: white;
}

.trasix-btn-success:hover {
    background-color: #1e7e34;
}

.trasix-user-info {
    background: #e7f3ff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #007cba;
    font-size: 14px;
}

.trasix-sso-info {
    margin-bottom: 15px;
    text-align: center;
    color: #666;
}

.trasix-loading {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-style: italic;
}

.trasix-messages {
    margin-bottom: 15px;
}

.trasix-alert {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.trasix-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.trasix-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Logged in layout */
.mod-trasix-login.logged-in {
    text-align: center;
}

.trasix-logged-in-container {
    padding: 15px;
}

.trasix-user-welcome {
    margin-bottom: 15px;
}

.trasix-welcome-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.trasix-logout-section {
    margin-top: 15px;
}

/* Responsive design */
@media (max-width: 480px) {
    .mod-trasix-login {
        padding: 15px;
        margin: 10px;
    }
    
    .trasix-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin: 2px;
    }
    
    .trasix-button-group {
        text-align: center;
    }
    
    .trasix-btn-secondary,
    .trasix-btn-primary {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}