/* Modern Login UX Styles */

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0e1a33;
    color: #ffffff;
}

/* Login Container */
.login-ux {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: #0e1a33;
}

.login-ux-container {
    width: 100%;
    max-width: 498px;
    background-color: #131f35;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* Header */
.login-ux-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.login-ux-logo {
    width: 70px;
    height: 70px;
    background-color: #3949ab;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.login-ux-logo i {
    font-size: 2rem;
    color: #ffffff;
}

.login-ux-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
}

.login-ux-header p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Tabs */
.login-ux-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.login-ux-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.login-ux-tab.active {
    color: #ffffff;
}

.login-ux-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1e90ff;
    border-radius: 3px 3px 0 0;
}

.login-ux-tab i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.login-ux-tab span {
    font-size: 0.85rem;
}

/* Form Content */
.login-ux-content {
    padding: 1.5rem 2rem 2rem;
}

.login-ux-form {
    display: none;
}

.login-ux-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.25rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}

.input-group i {
    width: 48px;
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.875rem 1rem 0.875rem 0;
    color: #1e293b;
    font-size: 0.95rem;
    outline: none;
}

.input-group input::placeholder {
    color: #9ca3af;
}

/* Button */
.login-ux-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1e90ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.login-ux-button:hover {
    background-color: #0077ea;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.login-ux-button i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Footer */
.login-ux-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.login-ux-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.login-ux-footer a:hover {
    color: #ffffff;
}

.login-ux-footer a i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #131f35;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
}

.close-btn {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 480px) {
    .login-ux-container {
        max-width: 100%;
    }
    
    .login-ux-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .login-ux-content {
        padding: 1.5rem 1.5rem 1.5rem;
    }
    
    .login-ux-tab {
        padding: 0.75rem 0.5rem;
    }
    
    .login-ux-tab i {
        font-size: 1.1rem;
    }
    
    .login-ux-tab span {
        font-size: 0.75rem;
    }
}
