/* Variables */
:root {
    --pwal-gradient: linear-gradient(90deg, #f0326b 0%, #a212e3 100%);
    --text-muted: #6c757d;
    --border-color: #eee;
}

body {
    background-color: #f0dfff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
}

/* Main Container */
.login-wrapper {
    max-width: 1000px;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-top: 70px;
}

/* Left Side - Image */
.login-side-img {
    background-color: #6d28d9;
    position: relative;
    min-height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.login-side-img::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../vector/login_card_bg_vector.webp');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}
.login-side-img.bg-loaded::before { opacity: 1; }

.login-side-img::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(244,63,142,0.22) 0%, rgba(124,58,237,0.3) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.img-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pwal-logo-main {
    width: 120px;
    margin-bottom: 20px;
}

.social-bottom {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-bottom a {
    background-color: white;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-bottom a:hover {
    background-color: #329af0;
    color: white;
    transform: translateY(-5px);
}

/* Right Side - Form */
.login-form-side {
    padding: 50px 60px;
}

.login-title {
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

/* Form labels */
.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group-text {
    background-color: #fcfcfc;
    border-left: none;
    border-color: #e0e0e0;
    cursor: pointer;
}

/* intlTelInput */
.iti {
    width: 100%;
    display: block;
}

.iti__country-list {
    z-index: 10;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #fcfcfc;
    border-radius: 10px 0 0 10px;
    border: 1px solid #e0e0e0;
    border-right: none;
}

/* Buttons */
.btn-login {
    background: var(--pwal-gradient);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: white;
}

.btn-social-outline {
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.btn-social-outline:hover {
    background-color: #f8f9fa;
    color: #333;
}

.btn-social-outline img {
    width: 18px;
    margin-right: 10px;
}

.btn-social-outline i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.social-btn-content {
    display: grid;
    grid-template-columns: 35px auto;
    align-items: center;
    width: 250px;
}

.social-btn-content i,
.social-btn-content img {
    width: 20px;
    display: flex;
    justify-content: flex-start;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #bbb;
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider span {
    padding: 0 10px;
}

/* Links */
.signup-link {
    background: linear-gradient(90deg, #FF417B 0%, #6900BC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.signup-link:hover {
    filter: brightness(1.2);
}

/* Footer */
.footer .container span {
    color: #6c757d !important;
}

/* Large Tablets & Laptops */
@media (max-width: 1024px) {
    .login-wrapper {
        max-width: 90%;
    }

    .login-form-side {
        padding: 40px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .login-side-img {
        display: none !important;
    }

    .login-wrapper {
        max-width: 500px;
        border-radius: 20px;
    }

    .login-form-side {
        padding: 40px 30px;
        width: 100%;
    }

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

/* Mobile */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .login-wrapper {
        max-width: 100%;
        border-radius: 15px;
        box-shadow: none;
    }

    .login-form-side {
        padding: 30px 20px !important;
    }

    .btn-social-outline {
        font-size: 0.85rem;
    }

    .social-btn-content {
        width: 100%;
        justify-content: center;
        grid-template-columns: 30px auto;
        padding-left: 10px;
    }

    .btn-login {
        padding: 10px;
    }

    .footer .container span {
        font-size: 12px;
    }
}