
/* 
   CONFIDENTIAL AND PROPRIETARY

   This software and its source code are the property of Exodus Software Development Team.
   Unauthorized use, copying, or distribution is strictly prohibited.

   Team Members:
   Fuertez
   Bundalian
   Arevalo
   De Vera
   De Jesus
   Orendain 
*/


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    animation: fadeIn 0.3s ease-in-out; 
}


@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


.modal-header {
    margin-bottom: 20px;
}

.modal-logo {
    width: 100px; 
    height: auto; 
    font-size: 100px; 
    display: block; 
    margin: 0 auto; 
    color: #007bff; 
}


.modal-header h2 {
    font-size: 18px;
    color: #1a73e8;
    font-family: 'Roboto', sans-serif;
    margin-top: 10px;
}



.modal-body p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

.modal-body ol {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    text-align: left;
}


#termsModal .modal-body {
    max-height: 200px; 
    overflow-y: auto; 
    padding: 20px;
}

#termsModal .modal-body ol {
    padding-left: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    text-align: left;
}



.enroll-form-row {
    display: flex;
    gap: 15px; 
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px; 
}

.enroll-form-group {
    flex: 1; 
    text-align: left;
}

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

.enroll-form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #f4f6ff;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
}




.submit-button, .action-button {
    width: 30%;
    padding: 10px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.2s ease;
}

.submit-button:hover, .action-button:hover {
    background-color: #135abc;
}


.modal-footer {
    margin-top: 15px;
}

.privacy-policy-link {
    color: #1a73e8;
    font-size: 12px;
    text-decoration: none;
}

.privacy-policy-link:hover {
    text-decoration: underline;
}


.action-button {
    width: 30%;
    padding: 8px;
    font-size: 10px;
    border: 2px solid transparent; 
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
    margin: 0 5px;
}

.action-button.decline {
    background-color: #f4f6ff;
    color: #007bff;
    border-color: #007bff; 
}

.action-button.decline:hover {
    background-color: #d32f2f;
    color: #f4f6ff;
    border-color: #b71c1c; 
}

.action-button.accept {
    background-color: #007bff;
    border-color: #007bff; 
}

.action-button.accept:hover {
    background-color: #388e3c;
    border-color: #2e7d32; 
}


#loginModal {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
}

#loginModal .modal-logo {
    font-size: 80px; 
    margin-bottom: 20px;
    color:#007bff;
}

#loginModal h1 {
    font-size: 24px;
    color: #1a73e8;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

#loginModal p {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}


#loginModal label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    text-align: left; 
}


#loginModal .remember-me {
    font-size: 14px;
    color: #555;
    display: flex; 
    align-items: center; 
    margin-bottom: 20px; 
    width: 100%; 
    text-align: left; 
}

#loginModal input[type="checkbox"] {
    margin-right: 8px; 
    vertical-align: middle; 
}


#loginModal button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px; 
}

#loginModal button:hover {
    background-color: #135abc;
}


#loginModal a {
    font-size: 12px;
    color: #1a73e8;
    text-decoration: none;
    display: block;
    text-align: center;
}

#loginModal a:hover {
    text-decoration: underline;
}

#changePasswordModal .modal-body {
    
    text-align: left; 
  }
  
  #changePasswordModal .form-group {
    margin-bottom: 15px;
  }
  
  #changePasswordModal label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
  }
  
  #changePasswordModal .submit-button {
    
    width: 100%; 
  }
  
#profileModal .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#profileModal .avatar-container {
    margin-bottom: 20px;
}

#profileModal .modal-avatar { 
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #007bff;
    object-fit: cover;
    cursor: pointer;
    display: block;
    margin: 0 auto 10px auto;
}

#profileModal .profile-info p { 
    font-size: 14px;
    color: #555;
    margin-bottom: 5px; 
}

#profileModal .profile-info {
    margin-bottom: 20px;
    text-align: center;
}

#uploadAvatarButton {
    margin-top: 10px; 
    padding: 8px 16px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto 10px auto;
}

#logoutButton {
    padding: 10px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 10px; 
    display: block; 
    width: auto; 
}

#logoutButton:hover {
    background-color: #c82333;
}


.loading-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .loading-spinner {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  
.show-password {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-top: 5px;
  }
  
  .show-password input[type="checkbox"] {
    margin-right: 5px;
  }
  
  
  .password-requirements {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
  }

  #loginModal input[type="text"], 
  #loginModal input[type="password"],
  #changePasswordModal input[type="text"],
  #changePasswordModal input[type="password"] {
      width: 100%;
      padding: 10px;
      font-size: 14px;
      border: 1px solid #ddd;
      border-radius: 4px;
      margin-bottom: 15px;
      background-color: #f4f6ff;
      box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1),
                  inset -2px -2px 4px rgba(255, 255, 255, 0.5);
      box-sizing: border-box;
  }

  #duplicateEmailModal .modal-body input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px; 
    background-color: #f4f6ff;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7); 
}


@media screen and (min-width: 768px) {
    #termsModal .modal-body {
        max-height: 600px; 

    }

    #termsModal .modal-content {
        max-width: 700px;
    }
}