/* AUTH LOGIN STYLES */
:root {
    --auth-grad: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --auth-primary: #6366f1;
    --auth-bg: #f8fafc;
    --auth-text: #1e293b;
}

.auth-full-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--auth-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    z-index: 9999;
}

.container-custom {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 850px;
    max-width: 95%;
    min-height: 520px;
    display: flex;
}

/* FORM SIDE */
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    text-align: center;
}

.form-container h1 {
    font-weight: 800;
    margin: 0;
    margin-bottom: 12px;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    color: var(--auth-text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    gap: 10px;
    font-weight: 700;
    font-size: 12px;
}

.social-container a img {
    width: 20px;
    height: 20px;
}

.social-container a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.form-container span {
    font-size: 12px;
    margin-bottom: 15px;
}

.form-input {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    margin: 6px 0;
    width: 100%;
    border-radius: 10px;
    outline: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--auth-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-container a.forgot {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.btn-auth {
    border-radius: 12px;
    border: none;
    background: var(--auth-grad);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 40px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

.btn-auth:active {
    transform: scale(0.95);
}

.btn-auth:focus {
    outline: none;
}

.btn-ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

/* OVERLAY SIDE */
.overlay-container {
    flex: 1;
    background: var(--auth-grad);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    text-align: center;
}

.overlay-container h1 {
    font-weight: bold;
    margin: 0;
}

.overlay-container p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.error-msg {
    color: #ff4b2b;
    font-size: 11px;
    text-align: left;
    width: 100%;
    display: block;
    margin-top: -5px;
}

/* ── BACK TO HOME BUTTON ── */
.back-home-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    color: var(--auth-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    color: var(--auth-primary);
}

.back-home-btn .icon {
    width: 24px;
    height: 24px;
    background: var(--auth-grad);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ── GOOGLE BUTTON ANIMATIONS ── */
@keyframes socialFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.animate-social {
    animation: socialFloat 3s ease-in-out infinite;
}

.social-container a {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    color: var(--auth-text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.social-container a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent
    );
    transition: 0.6s;
}

.social-container a:hover::before {
    left: 100%;
}

.social-container a:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
    background: #fff;
}

.social-container a.facebook-btn:hover {
    border-color: #1877f2;
    box-shadow: 0 20px 25px -5px rgba(24, 119, 242, 0.15);
}

.social-container a img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
}

.social-container a:hover img {
    transform: rotate(12deg) scale(1.1);
}
