/* styles.css */

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    height: 100vh;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#particles-js {
    width: 100%;
    height: 100%;
    background-color: #0d47a1; /* Blue theme */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    /* max-width: 500px; */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 450px;
}

h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: #777;
}

.input-group {
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    padding-right: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #1976d2;
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 35px;
    cursor: pointer;
    font-size: 12px;
    color: #1976d2;
    user-select: none;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 5px;
}

.forgot-password {
    color: #1976d2;
    text-decoration: none;
    font-size: 14px;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #1976d2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1565c0;
}

.or {
    text-align: center;
    margin: 10px 0;
    color: #777;
}

.social-login {
    display: flex;
    flex-direction: column;
}

.social-login .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-login .btn i {
    margin-right: 10px;
    font-size: 20px;
}

.social-login .google {
    background-color: #db4437;
}

.social-login .google:hover {
    background-color: #c33d2e;
}

.social-login .facebook {
    background-color: #4267B2;
}

.social-login .facebook:hover {
    background-color: #375695;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.signup-text a {
    color: #1976d2;
    text-decoration: none;
}

.signup-text a:hover {
    text-decoration: underline;
}

#password-strength {
    height: 5px;
    width: 100%;
    background-color: #ddd;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
    position: relative;
}

#password-strength div {
    height: 100%;
    width: 0%;
    background-color: red;
    transition: width 0.3s;
}

.checkbox-group {
    display: flex;
    gap: 15px;
    margin: auto;
}

.checkbox-group label {
    font-size: 14px;
    color: #333;
    margin: auto;
    
}

/* .login-container, .signup-container, .forgot-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    max-height: 90%;
    min-width: 1000px;
} */

.login-box, .signup-box, .signup-box2, .forgot-password-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 90%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
    margin: auto;
}



#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-screen p {
    font-size: 1.2em;
    color: #333;
}