/* Login Page Specific Styles */

/* Cover Layout Styles */
.authentication-wrapper.authentication-cover {
    min-height: 100vh;
    /* background: linear-gradient(135deg, #ffcd00 0%, #ffde5c 100%); */
}

.authentication-cover .authentication-inner {
    min-height: 100vh;
}

.authentication-cover .authentication-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0;
}

.authentication-cover .w-px-400 {
    max-width: 400px;
}

.authentication-cover-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.authentication-cover h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.authentication-cover p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

/* Phone number input formatting */
#username {
    direction: ltr;
    text-align: left;
    letter-spacing: 1px;
}

/* Password toggle button styling */
.form-password-toggle .input-group-text {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-password-toggle .input-group-text:hover {
    background-color: #f8f9fa;
}

/* Loading state for submit button */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Social media buttons styling */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Social media brand colors */
.btn-label-linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
    color: white;
}

.btn-label-facebook {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-label-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.btn-label-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: white;
}

.btn-label-telegram {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
}

/* Form validation styling */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Alert styling for validation errors */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Logo and branding */
.login-logo-svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.app-brand-link:hover .login-logo-svg {
    transform: scale(1.1);
}

/* Center logo in login page and increase its size by 5% */
.authentication-cover .app-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Ensures vertical centering, adjust as needed */
}

.authentication-cover .login-logo-svg {
    width: 50%; /* 5% increase from 50px */
    height: 50%;
    padding: 0px 0px 0px 30px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-icon {
        width: 35px;
        height: 35px;
    }
    
    .app-brand-text {
        font-size: 1.1rem;
    }
    
    .authentication-cover .authentication-bg {
        padding: 2rem 1rem !important;
    }
    
    .authentication-cover .w-px-400 {
        max-width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 991.98px) {
    .authentication-cover .authentication-bg {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .authentication-cover .w-px-400 {
        width: 100%;
        max-width: 400px;
    }
}

/* Animation for form elements */
.form-control:focus {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Custom focus styles for better accessibility */
.form-control:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Loading animation for the entire form */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Left text section background */
.authentication-cover .d-none.d-lg-flex {
    background-image: url('../img/yellow-paper-texture.jpg');
    background-size: auto;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
}

/* Divider styling */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
}

.divider-text {
    background-color: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
} 