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

/* Auth Body */
.auth-body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e0e0e0;
    height: 100vh;
    overflow: hidden; /* <-- this prevents scrolling */
}


/* Auth Container */
.auth-container {
    display: flex;
    height: 100vh;    
    background: linear-gradient(135deg, #fec78c 0%, #000080 100%);
}

/* Left Side - Branding */
.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 42, 42, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 42, 42, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

.auth-branding {
    text-align: center;
    z-index: 2;
    position: relative;
}

/* Company Logo */
.company-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #2a9bde 0%, #1e88e5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(30, 136, 229, 0.3);
    animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-branding h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #e8c6c6 0%, #e17503 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px rgb(185, 8, 8);
}

.auth-branding p {
    font-size: 20px;
    color: #090909;
    margin-top: 15px;
}

/* Right Side - Form */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-form-container {
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Header */
.auth-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-form-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e0e0e0;
}

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

/* Form */
.auth-form {
    width: 100%;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    color: #e0e0e0;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #666666;
}

.form-control:focus {
    background-color: #1a1a1a;
    border-color: #2a9bde;
    color: #e0e0e0;
    box-shadow: 0 0 0 3px rgba(42, 155, 222, 0.1);
}

/* Input Group */
.input-group-text {
    background-color: #252525;
    border: 2px solid #2a2a2a;
    color: #999999;
    font-size: 14px;
}

.input-group .form-control:focus + .input-group-append .input-group-text,
.input-group .form-control:focus ~ .input-group-prepend .input-group-text {
    border-color: #2a9bde;
}

.input-group .form-control:focus ~ .input-group-append .input-group-text {
    border-color: #2a9bde;
}

/* Form Check */
.form-check-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 14px;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    color: #999999;
    cursor: pointer;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: '';
    background-color: #252525;
    border: 2px solid #2a2a2a;
    border-radius: 4px;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #2a9bde;
    border-color: #2a9bde;
}

.custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: '';
    background: no-repeat 50% / 50% 50%;
}

.forgot-password {
    color: #2a9bde;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1e88e5;
    text-decoration: underline;
}

/* Auth Buttons */
.auth-btn {
    background: linear-gradient(135deg, #2a9bde 0%, #1e88e5 100%);
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(42, 155, 222, 0.3);
}

.auth-btn:hover {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(42, 155, 222, 0.4);
    color: #fff;
}

.auth-btn:active {
    transform: translateY(0);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #666666;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #2a2a2a;
}

.auth-divider span {
    padding: 0 15px;
}

/* Social Login */
.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2a2a2a;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    border-color: #3a3a3a;
    background-color: #252525;
    transform: translateY(-2px);
}

.google-btn:hover {
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
}

.microsoft-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.3);
}

.github-btn:hover {
    box-shadow: 0 8px 24px rgba(88, 96, 105, 0.3);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    color: #999999;
    font-size: 14px;
    margin-top: 20px;
}

.auth-link {
    color: #2a9bde;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #1e88e5;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	
	 .auth-body {
        overflow-y: auto; /* allow vertical scrolling */
    }
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        padding: 30px 20px;
        min-height: 200px;
    }

    .auth-left::before,
    .auth-left::after {
        display: none;
    }

    .company-logo {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 20px;
    }

    .auth-branding h1 {
        font-size: 32px;
    }

    .auth-branding p {
        font-size: 14px;
    }

    .auth-right {
        padding: 30px 20px;
        min-height: auto;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-form-header h2 {
        font-size: 24px;
    }

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

    .social-login {
        gap: 10px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
	 .auth-form-container {
        max-width: 100%;
        padding-bottom: 20px; /* space for footer */
    }
    .auth-left {
        padding: 20px 15px;
        min-height: 150px;
    }

    .company-logo {
        width: 70px;
        height: 70px;
        font-size: 35px;
        margin-bottom: 15px;
    }

    .auth-branding h1 {
        font-size: 26px;
    }

    .auth-branding p {
        font-size: 12px;
    }

    .auth-right {
        padding: 20px 15px;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-form-header {
        margin-bottom: 25px;
    }

    .auth-form-header h2 {
        font-size: 20px;
    }

    .auth-form-header p {
        font-size: 12px;
    }

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

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-group label {
        font-size: 12px;
    }

    .auth-btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .auth-divider {
        margin: 18px 0;
        font-size: 12px;
    }

    .social-login {
        gap: 8px;
        margin-bottom: 18px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .auth-footer {
        font-size: 12px;
    }
}
