/**
 * Shop Explorer Login Form Styles
 */

.shop-explorer-login-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shop-explorer-login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.shop-explorer-login-form .form-group {
    margin-bottom: 15px;
}

.shop-explorer-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.shop-explorer-login-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.shop-explorer-login-form .form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.shop-explorer-login-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-explorer-login-form .form-check-input {
    width: auto;
    margin: 0;
}

.shop-explorer-login-form .form-check-label {
    margin: 0;
    cursor: pointer;
}

.shop-explorer-login-form .btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.shop-explorer-login-form .btn-primary {
    background-color: #0073aa;
    color: #fff;
    width: 100%;
}

.shop-explorer-login-form .btn-primary:hover {
    background-color: #005a87;
}

.shop-explorer-login-form .btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.shop-explorer-login-form .btn-secondary {
    background-color: #666;
    color: #fff;
}

.shop-explorer-login-form .btn-secondary:hover {
    background-color: #555;
}

.shop-explorer-login-form .btn-link {
    background: none;
    color: #0073aa;
    text-decoration: underline;
    padding: 5px 10px;
}

.shop-explorer-login-form .btn-link:hover {
    color: #005a87;
}

.shop-explorer-login-form .forgot-password-link,
.shop-explorer-login-form .register-link {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.shop-explorer-login-form .forgot-password-link:hover,
.shop-explorer-login-form .register-link:hover {
    text-decoration: underline;
}

.shop-explorer-login-messages {
    margin-bottom: 15px;
}

.shop-explorer-login-messages .alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shop-explorer-login-messages .alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.shop-explorer-login-messages .alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.shop-explorer-login-messages .alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Reset Form Styles */
.shop-explorer-reset-form {
    margin-top: 20px;
}

.shop-explorer-reset-form h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.shop-explorer-reset-form .form-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.shop-explorer-reset-form .form-group:first-child {
    display: block;
}

/* Logged In Message Styles */
.shop-explorer-logged-in {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.shop-explorer-logged-in .alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 15px;
    border-radius: 4px;
}

.shop-explorer-logged-in .btn {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.shop-explorer-logged-in .btn-primary {
    background-color: #0073aa;
    color: #fff;
}

.shop-explorer-logged-in .btn-secondary {
    background-color: #666;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 480px) {
    .shop-explorer-login-wrapper,
    .shop-explorer-logged-in {
        margin: 10px;
        padding: 15px;
    }
    
    .shop-explorer-login-title {
        font-size: 20px;
    }
    
    .shop-explorer-reset-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .shop-explorer-logged-in .btn {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
}

/* Loading Animation */
.btn-loading {
    opacity: 0.7;
}

/* Focus Styles for Accessibility */
.shop-explorer-login-form .form-control:focus,
.shop-explorer-login-form .btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Error State */
.shop-explorer-login-form .form-control.error {
    border-color: #dc3232;
}

.shop-explorer-login-form .form-control.error:focus {
    border-color: #dc3232;
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.1);
}