/* --------------------
   MAIN CONTAINER
--------------------- */
.login-container {
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

/* --------------------
   FORM
--------------------- */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --------------------
   SOCIAL ICONS
--------------------- */
.login-social-container {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 5px;
}

.login-social {
    color: #007bff;
}

.login-subtext {
    text-align: center;
    font-size: 0.9rem;
}

/* --------------------
   INPUTS & BUTTONS
--------------------- */
.login-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #007bff;
    outline: none;
}

.login-forgot {
    font-size: 0.85rem;
    text-align: right;
    color: #007bff;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.login-btn:hover {
    background: #006ae6;
}

/* --------------------
   SIGN-UP SECTION
--------------------- */
.login-signup-text {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
}

.login-ghost {
    margin-top: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid #007bff;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
}

.login-ghost-link {
    color: #007bff;
    text-decoration: none;
    font-size: 1rem;
}

/* -----------------------------------------------
   RESPONSIVE DESIGN — THIS FIXES YOUR MAIN ISSUE
------------------------------------------------ */

/* Tablets and small laptops (≤ 760px) */
@media (max-width: 760px) {
    .login-container {
        max-width: 90%;
        padding: 18px;
    }
	.login-title {
        font-size: 1.3rem;
    }
}

/* Phones (≤ 480px) */
@media (max-width: 480px) {
    .login-container {
        max-width: 95%;
        padding: 16px;
    }

	.login-title {
        font-size: 1.15rem;
    }

    .login-input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .login-btn,
    .login-ghost {
        padding: 10px;
    }
}

/* Very small phones (≤ 360px) */
@media (max-width: 360px) {
    .login-container {
        max-width: 98%;
        padding: 14px;
    }

    .login-title {
        font-size: 1.05rem;
    }

    .login-input {
        padding: 9px 10px;
        font-size: 0.9rem;
    }

    .login-btn,
    .login-ghost {
        padding: 9px;
        font-size: 0.9rem;
    }
}
