/* Custom Login Page Styles - Dreams POS Design */

body.account-page {
    background: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.login-wrapper {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    display: flex;
    min-height: 100vh;
}

.login-wrapper::before {
    display: none;
}

.login-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-image-section {
    flex: 1;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.login-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
}

.login-image-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.login-image-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.login-image-content .image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.login-image-content .image-placeholder i {
    font-size: 4rem;
    opacity: 0.7;
}

.login-userset {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo img {
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-userheading {
    text-align: center;
    margin-bottom: 40px;
}

.login-userheading h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-userheading h4 {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.6;
}

.form-login {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-addons {
    position: relative;
}

.form-addons input {
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

.form-addons input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    outline: none;
}

.form-addons i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
}

.pass-group {
    position: relative;
}

.pass-input {
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

.pass-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #667eea;
}

.authentication-check {
    margin-bottom: 30px;
}

.checkboxs {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
}

.checkboxs input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

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

.signinform {
    text-align: center;
    margin: 30px 0;
}

.signinform h4 {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
}

.hover-a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.form-setlogin {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.form-setlogin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.form-setlogin h4 {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.form-sociallink ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.form-sociallink li a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.facebook-logo {
    background: #3b5998;
    color: white;
}

.google-logo {
    background: #db4437;
    color: white;
}

.apple-logo {
    background: #000;
    color: white;
}

.form-sociallink li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.copyright-text {
    margin-top: 30px;
}

.copyright-text p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-content {
        padding: 40px 30px;
    }
    
    .login-userheading h3 {
        font-size: 2rem;
    }
    
    .login-userheading h4 {
        font-size: 1rem;
    }
    
    .account-content {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .login-content {
        padding: 30px 20px;
    }
    
    .login-userheading h3 {
        font-size: 1.8rem;
    }
    
    .form-addons input,
    .pass-input {
        padding: 12px 45px 12px 15px;
    }
    
    .btn-login {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-login {
    position: relative;
}

.loading .btn-login::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error Messages */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    font-size: 0.9rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-size: 0.9rem;
}