/* Augame.lt Authentication Pages Styles */

/* Base styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Auth container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Auth card */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

/* Wide auth card for forms with more content */
.auth-card.auth-card-wide {
    max-width: 450px;
}

/* Auth logo */
.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 50px;
    max-width: 100%;
}

/* Auth titles */
.auth-title {
    text-align: center;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.auth-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

/* Form elements */
.position-relative {
    position: relative;
}

.input-group-text {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 3;
    color: #6c757d;
    font-size: 1.1rem;
}

.form-control {
    padding-left: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    height: 50px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Links */
.auth-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert p {
    margin-bottom: 0;
}

.alert .mb-1 {
    margin-bottom: 0.25rem !important;
}

/* Responsive design */
@media (max-width: 576px) {
    .auth-container {
        padding: 15px;
    }
    
    .auth-card {
        padding: 30px 25px;
    }
    
    .auth-title {
        font-size: 1.3rem;
    }
    
    .auth-subtitle {
        font-size: 13px;
    }
    
    .form-control {
        height: 45px;
        padding-left: 45px;
    }
    
    .input-group-text {
        left: 12px;
        font-size: 1rem;
    }
    
    .btn-primary {
        height: 45px;
        font-size: 14px;
    }
}

/* Loading states */
.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

/* Additional spacing utilities */
.mb-3 {
    margin-bottom: 1rem !important;
}

.text-center {
    text-align: center !important;
}

.d-grid {
    display: grid !important;
}
