/* {% load static %} */
#mainbar h1 {
    color: #4ec6c2;
}

.mydivbutton {
    padding: 0px 40px 0px 40px;
    color: red;
}


/* Used in signup.html and login.html */
.googlecontainer {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #5f6368;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dadce0;
    margin: 0 16px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #dadce0;
    color: #5f6368;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.google-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 3px rgba(60, 64, 67, 0.3);
}

.google-btn img {
    margin-right: 12px;
}



.upgrade-message {
    background-color: #f9f9f9;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.upgrade-message p {
    margin: 0 0 1rem;
}

.plan-upgrade-button {
  display:flex;
  flex-direction: column;
  align-self: center;
}

#please_upgrade_id {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 1px solid #4ec6c2;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Initially hidden */
    width: 300px;
    text-align: center;
    font-size: 16px;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#please_upgrade_id.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#please_upgrade_id a {
    color: #4ec6c2;
    font-weight: bold;
    text-decoration: none;
}

#please_upgrade_id a:hover {
    color: #3ba99a;
    text-decoration: underline;
}

/* For upload and download buttons in Articles pages*/
/* General button styling */
.upload_download_btn {
    color: #4ec6c2;  /* Text color for the button */
    text-decoration: none;  /* Removes the underline on links */
    display: inline-flex;
    align-items: center;
    font-size: 12px;  /* Smaller font size for text */
    cursor: pointer;
    padding: 0px 16px;
    background-color: transparent;
    border: none;  /* Removes the border */
    transition: background-color 0.3s, color 0.3s;
  }
  
  /* SVG icon styling inside the button */
  .upload_download_btn svg {
    fill: #4ec6c2;  /* Ensures the SVG icon is also colored #4ec6c2 */
    margin-right: 8px;
    height: 16px;
    width: 16px;
  }
  
  /* Hover effect for the buttons */
  .upload_download_btn:hover {
    background-color: transparent;
    color: #4ec6c2;  /* Ensures text color changes on hover */
  }
  
  /* Label button styling */
  .upload-label {
    display: inline-flex;
    align-items: center;
    color: #4ec6c2;  /* Text color of the label */
    cursor: pointer;
    font-size: 12px;  /* Smaller font size for text */
  }
  
  .upload-label:hover {
    background-color: transparent;  /* Keeps the button's background unchanged on hover */
  }
  
  /* qi dictionary edit button */
  .edit-btn { 
    margin-left: .5rem; 
    }