body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 30px;
    height: 30px;
    background: white;
    border: solid 1px #b4b4b4;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    padding: 3px;
    z-index: 10;
}

.close-btn:hover {
    background: #73a4f8;
}


h2 {
    margin-bottom: 20px;
}

input {
    width: 92%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#messagebox button{
    width: 100px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block; /* Ensure it's a block-level element */
    margin: 0 auto; /* Centers horizontally */
}

#messagebox button:hover {
    background-color: #014892;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #014892;
}

.twitter-btn {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #1DA1F2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.twitter-btn:hover {
    background-color: #1848a2;
}

.facebook-btn {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #1848a2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.facebook-btn:hover {
    background-color: #0b1a36;
}

.password-container {
    position: relative;
    margin: 10px 0;
}

.eye {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.eye i {
    font-size: 16px;
}

#hide1,
#hide2 {
    display: inline-block;
}

#verify-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#timer {
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Password Requirements */
.password-requirements {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Password Strength Bar */
.strength-bar {
    margin-top: 10px;
    margin-bottom: 10px;
}

.bar {
    height: 5px;
    background: #ccc;
    border-radius: 3px;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.bar.weak {
    background: #ff4d4d;
}

.bar.medium {
    background: #ffcc00;
}

.bar.strong {
    background: #00cc00;
}

#strength-text {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: #333;
}

.form-box {
    margin: auto;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    flex: 1 1 100%;
    justify-content: center;
    align-items: stretch;
    text-align: center;
}

.form-box img {
    border-radius: 10px 0 0 10px;
    object-fit: cover;
}

.form-box .right {
    position: relative;
    margin-left: 20px;
    min-width: 300px;
}

.form-box .Covers {
    position: relative;
}

.form-box .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    transition: .5s ease;
    opacity: 1;
    color: rgb(255, 0, 0);
    padding: 20px;
    text-align: left;
}

.form-box #login-form,
.form-box #register-form,
.form-box #verify-form {
    margin-left: 10px;
    background: #FFFFFF;
    justify-content: center;
    align-items: stretch;
    text-align: center;
}

@media (max-width: 1100px) {
    .form-box {
        margin-top: 10px;
        flex-flow: wrap;
        text-align: center;
        align-content: center;
        align-items: center;
    }

    .form-box .right {
        position: relative;
        width: 100%;
        align-items: center;
        margin: 0;
    }


    .form-box .left {
        width: 100%;
        order: -1;
    }

    .form-box img {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .form-box .overlay {
        position: absolute;
        top: 0;
        width: 100%;
        font-size: 15px;
        padding: 10px;
    }
}