@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f5f7fb;
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}

a.link[href] {
    color: #00cea6;
}

.login-container {
    width: 100%;
    max-width: 820px;
    background: white;
    /* padding: 40px; */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-left {
    background-image: url("../images/left-bg.webp");
    background-size: cover;
    background-position: center;
    max-width: 320px;
}

.auth-container {
    padding: 40px;
}

.auth-header {
    /* text-align: center; */
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    /* margin-bottom: 10px; */
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #00cea6;
}

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #00cea6;
    color: white;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-btn:hover {
    opacity: 0.9;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #777;
    font-size: 13px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

.social-btn:hover {
    background: #f9f9f9;
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

.password-wrapper .show-pass {
    display: none;
}

.password-wrapper .hide-pass {
    display: block;
}

.password-wrapper.show .show-pass {
    display: block;
}
.password-wrapper.show .hide-pass {
    display: none;
}

.icon-box {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00cea515;
    color: #00cea6;
}

.bg-transparent-accent {
    background-color: #00cea515;
}

@media (max-width: 768px) {
    .login-left {
        display: none;
    }
    .login-container {
        width: 90%;
    }
}
