/* assets/css/login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a2e;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #16213e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.5);
    border: 2px solid #2563eb;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2563eb, #60a5fa, #2563eb);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-container:hover::before {
    opacity: 1;
}

.login-wrapper {
    display: flex;
    min-height: 500px;
}

.login-form-side {
    flex: 1;
    padding: 50px;
    background: #16213e;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-welcome-side {
    flex: 1;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-welcome-side::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
}

.login-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.welcome-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #2563eb;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-wrapper input:focus {
    border-bottom-color: #60a5fa;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-icon {
    position: absolute;
    right: 0;
    color: #2563eb;
    font-size: 1.1rem;
}

.toggle-password {
    position: absolute;
    right: 35px;
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #60a5fa;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.6);
}

.btn-login:active {
    transform: translateY(0);
}

.alert-custom {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid #2563eb;
    color: #60a5fa;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.alert-custom .btn-close {
    background: none;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    margin-left: auto;
    font-size: 1.2rem;
    opacity: 0.7;
}

.alert-custom .btn-close:hover {
    opacity: 1;
}

.signup-link {
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.signup-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #2563eb;
}

.btn-back i {
    margin-right: 8px;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .login-welcome-side {
        display: none !important;
    }
    
    .login-form-side {
        padding: 40px 30px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}