
/* Login form styles */

.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

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

.login-header img {
    width: 120px;
    margin-bottom: 20px;
}

.login-header h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}



.form-floating input {
    height: 60px;
    border-radius: 12px;
    border: 2px solid #e1e1e1;
    padding: 20px 15px 15px 45px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-floating input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

.form-floating label {
    position: absolute;
    left: 45px;
    top: 20px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
    top: 8px;
    left: 45px;
    font-size: 0.8rem;
    color: #007bff;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.form-floating input:focus ~ .form-icon {
    color: #007bff;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.register-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e1e1e1;
    color: #666;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #007bff;
    border-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
    background-color: #f8d7da;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Register form styles */
.register-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.register-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating input {
    border-radius: 10px;
    padding: 15px;
    height: 60px;
    border: 2px solid #e1e1e1;
    transition: all 0.3s ease;
}

.form-floating input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.form-floating label {
    padding: 20px;
}

.register-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
}

.password-requirements {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    padding-left: 15px;
}

.form-icon {
    color: #007bff;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* products.php styles*/
