:root {
    --primary: #FF8C42; /* Brighter orange */
    --secondary: #6D6D6D; /* Medium gray */
    --light: #FFFFFF; /* Pure white */
    --dark: #333333; /* Dark gray */
    --accent: #FFB347; /* Lighter orange accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image:
        linear-gradient(135deg, rgba(255,140,66,0.1) 0%, rgba(255,255,255,1) 100%);
    overflow: hidden;
}

.login-container {
    display: flex;
    width: 850px;
    height: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(255, 140, 66, 0.15);
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.8s ease-out;
    border: 1px solid rgba(255, 140, 66, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-image {
    flex: 1;
    background:
        linear-gradient(rgba(214, 93, 14, 0.8), rgba(214, 93, 14, 0.6)),
        url('../images/tall.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
    transition: all 0.5s ease;
}

<!--        .login-image:hover {-->
<!--            background:-->
<!--                linear-gradient(rgba(214, 93, 14, 0.7), rgba(214, 93, 14, 0.5)),-->
<!--                url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');-->
<!--            background-size: cover;-->
<!--            background-position: center;-->
}

.login-image h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.login-image p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.login-form {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.logo .sixteen {
    color: var(--primary);
}

.logo .bits {
    color: var(--dark);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    outline: none;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 38px;
    color: var(--secondary);
    opacity: 0.6;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary);
}

.login-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width:100%;
    min-width:250px;

    margin-left:auto;
    margin-right:auto;

}

.login-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-login p {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:nth-child(1):hover {
    background-color: #3b5998;
}

.social-icon:nth-child(2):hover {
    background-color: #1DA1F2;
}

.social-icon:nth-child(3):hover {
    background-color: #0077B5;
}

.floating-circuit {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.circuit-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    animation-delay: 0s;
}

.circuit-2 {
    bottom: 15%;
    right: 8%;
    width: 150px;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        width: 90%;
        max-width: 500px;
    }

    .login-image {
        display: none;
    }

    .login-form {
        padding: 40px 30px;
    }
}