@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #0A0A0A;
    background-color: #FFFFFF;
}

.login-page {
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.logo-section img {
    max-width: 100%;
    height: auto;
}

.form-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-container {
    background-color: #FAFAFA;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #E0E0E0;
}

.form-container h2 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #4D4D4D;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
  
.password-wrapper input {
    flex: 1;
    padding-right: 44px;
}
  
.toggle-password {
    position: absolute;
    right: 8px;
    top: 40%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.form-options a {
    text-decoration: none;
    color: #0A0A0A;
    font-size: 0.9em;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-primary:hover {
    background-color: #333333;
}

.or-divider {
    text-align: center;
    margin: 15px 0;
    font-size: 0.9em;
    color: #4D4D4D;
}

/* Google sign-in button (added transition + no text-decoration) */
.btn-google {
    width: 100%;
    padding: 10px;
    border: 1px solid #E0E0E0;
    background-color: #FFFFFF;
    color: #0A0A0A;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none; /* no underline */
}

/* Hover effect only for Google button (no other rules changed) */
.btn-google:hover,
.btn-google:focus {
    background-color: #f5f5f5;
    border-color: #d6d6d6;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-decoration: none; /* ensure no underline */
    outline: none;
}

.btn-google img {
    width: 18px;
    margin-right: 8px;
}

.signup-text {
    text-align: center;
    margin-top: 15px;
    color: #4D4D4D;
}

.signup-text a {
    color: #0A0A0A;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
  
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
  
.modal-content h2 {
    margin-bottom: 10px;
}
  
.modal-content p {
    margin-bottom: 15px;
    color: #444;
}
  
.modal-content input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
  
.modal-content button {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
  
.modal-content button:hover {
    background-color: #333;
}
  
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    cursor: pointer;
}
  
.close:hover {
    color: #000;
}


@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
        height: auto;
    }
    .logo-section {
        padding: 20px;
    }
    .form-section {
        padding: 20px;
    }
}
