a {
  transition: color 0.3s ease-in-out;
}

a:not(.button):hover {
  text-decoration: underline;
  color: var(--contrast);
}

.project-link {
  font-size: 10px; font-weight: 700; color: #2271BC; text-transform: uppercase; text-decoration: none; display: flex; align-items: center;
}

.project-link:hover {
  color: #000;
  text-decoration: none !important;
}

.project-link-task {
  font-size: 11px; font-weight: 700; color: #2271BC; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none;
}

.project-link-task:hover {
  color: #000;
  text-decoration: none !important;
}

.project-link-single-task {
  display: inline-block; background: #f0f0f1; color: #50575e; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; text-decoration: none; margin-bottom: 10px;
}

.project-link-single-task:hover {
  color: #000; text-decoration: underline !important;
}

.parent-subtask-link {
  text-decoration: none; color: #126d99; font-weight: 500; font-size: 14px; flex-grow: 1;
}

.parent-subtask-link:hover {
  color: #000; text-decoration: underline !important;
}

.report-note-link {
  font-weight: 600; color:#166d9b; text-decoration: none;
}

.report-note-link:hover {
  color:#000; text-decoration: underline !important;
}

.report-task-link {
  text-decoration: none; color:#1d2327; font-size: 14px;
}

.report-task-link:hover {
  text-decoration: underline; color:#000;
}

.report-task-link-page {
  text-decoration: none; color:#1d2327;
}

.report-task-link-page:hover {
  text-decoration: underline !important; color: #000;
}

.report-note-link-page {
  font-weight:600; color:#166d9b; text-decoration:none;
}

.report-note-link-page:hover {
  text-decoration: underline !important; color: #000;
}

.last-projects-widget {
  text-decoration: none; color:#126d99;
}

.last-projects-widget:hover {
  color:#000; text-decoration: underline !important;
}

.last-tasks-widget {
   text-decoration: none; color:#1d2327;
}

.last-tasks-widget:hover {
  text-decoration: underline !important; color:#000;
}

.last-wikis-widget {
  text-decoration: none; font-weight: 500;
}

.last-wikis-widget:hover {
  color:#000; text-decoration: underline !important;
}

.last-discussions-widget {
  font-size:11px; color:#126d99;
}

.last-discussions-widget:hover {
  color:#000; text-decoration: underline !important;
}

.button, #commentform .submit {
  padding: 10px 30px;
  display: inline-flex;
  color: #fff;
  background-color: #126d99 !important;
  border-radius: 1000px;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 5px;
}

.button:is(:hover, :active, :focus), #commentform .submit:is(:hover, :active, :focus) {
  background-color: #114965 !important;
  color: #fff;
  text-decoration: none;
}

.button-stretch {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold !important;
}

input[name="only_mine"] {
    display: none !important;
}

.abuko-filter-btn {
    padding: 14px 20px;
    display: inline-flex;
    color: #fff;
    background-color: #126d99;
    border-radius: 1000px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
    border: none;
    line-height: 1;
}

.abuko-filter-btn:hover {
    background-color: #114965;
    color: #fff;
}

input[name="only_mine"]:checked + .abuko-filter-btn {
    background-color: #46b450 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.abuko-filter-btn:active {
    transform: translateY(1px);
}

.abuko-filter-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
}

.dashboard-anchors .button .dashicons {
  margin-top: 3px;
}

#page .task-comment-fields input,
#page input[name="proj_s"],
#page input[name="task_s"],
#page .filter-item input,
#page .search-bar #passSearch,
#page select {
    background: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Container for the whole login box */
.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    /* Optional: box-shadow: 0 10px 25px rgba(0,0,0,0.05); */
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.login-card .login-logo {
  margin-bottom: 30px;
  max-width: 350px;
  width: 100%;
  height: auto;
}

.login-card h2 {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .login-card h2 {
    font-size: 24px;
  }
}

.login-card p {
    margin-top: 20px;
    font-size: 13px;
    text-align: left;
}

.abuko-login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#abuko-login-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

#abuko-login-form input[type="text"],
#abuko-login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f9f9f9;
}

#abuko-login-form input:focus {
    border-color: #126d99;
    outline: none;
    background-color: #fff;
}

#abuko-login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
}

#abuko-login-form input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-right: 5px;
}

/* The Submit Button */
#abuko-login-form .login-submit {
    margin-top: 10px;
}

#abuko-login-form #wp-submit {
  width: 100% !important;
}

#abuko-login-form input[type="submit"]:active {
    transform: scale(0.98);
}

.abuko-attachments-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
}

.abuko-attachments-subtitle {
  width: 100%;
  margin: 0 0 5px 0;
  font-size: 12px;
  font-weight: bold;
  color: #666;
}

.attachment-item {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 4px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
} 

.attachment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #126d99 !important;
}

.attachment-item a[data-fslightbox] {
    cursor: zoom-in;
}

@media screen and (max-width: 400px) {
  .filename-text {
    font-size: 12px;
  }
}

.abuko-editor-wrapper {
  margin-bottom: 20px;
}

.abuko-editor-wrapper .editor-toolbar {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #fdfdfd;
}

.abuko-editor-wrapper .CodeMirror {
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
}

.editor-toolbar button {
    color: #333;
}

button:is(:hover, :active, :focus) {
  background-color: #114965 !important;
  color: #fff !important;
  text-decoration: none;
}