/* Force consistent appearance across dropdown, input, and button */

.custom-dropdown .Select-control {
    /* This targets the actual dropdown “box” */
    height: 38px !important;
    min-height: 38px !important;
    font-size: 14px;
    border-radius: 4px;
    /* Optional: match border color, background, etc. */
}

.next-button {
    background-color: #fff;
    color: #00509e;
    border: 1px solid #00509e;
    font-weight: 500;
    font-size: 1.02rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.next-button:hover {
    background-color: #00509e;
    color: #fff;
}

.next-button:disabled,
.next-button[disabled] {
    background-color: #fff; /* lighter shade of blue */
    color: #99a;             /* a slightly muted color */
    border-color: #b3d1ee;
    cursor: not-allowed;
    box-shadow: none;
}


.keyword-button {
    background-color: #fff;
    color: var(--secondary-color); /* e.g. #00509e */
    border: 0.5px solid var(--secondary-color);
    height: 39px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: normal;
    padding: 0.45rem 0.75rem 0.5rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.keyword-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.keyword-button:disabled,
.keyword-button[disabled] {
    background-color: #b3cfe7; /* A faded version of var(--secondary-color) */
    color: #f0f0f0;
    border-color: #b3cfe7;
    cursor: not-allowed;
    box-shadow: none;
}

.red-row {
    background-color: #ffdddd !important;  /* Light red / pinkish */
}
.keyword-button:disabled,
.keyword-button[disabled] {
    background-color: #b3cfe7; /* A faded version of var(--secondary-color) */
    color: #f0f0f0;
    border-color: #b3cfe7;
    cursor: not-allowed;
    box-shadow: none;
}


.ris-button {
    color: #A60F2D;              /* Text color matches Mendeley's brand red */
    background-color: #fff;      /* White background to contrast the text color */
    border: 0.5px solid #A60F2D;
    height: 39px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: normal;
    padding: 0.45rem 0.75rem 0.5rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ris-button:hover {
    color: #fff;
    background-color: #A60F2D;
    border-color: #A60F2D;
}
/*********************************************
 * INCLUDE BUTTON (Blue)
 *********************************************/
.include-button {
    background-color: #fff;
    color: var(--secondary-color);
    border: 0.5px solid var(--secondary-color);
    height: 39px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: normal;
    padding: 0.45rem 0.75rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.include-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.include-button:disabled,
.include-button[disabled] {
    background-color: #b3cfe7; /* lighter fade of var(--secondary-color) */
    color: #f0f0f0;
    border-color: #b3cfe7;
    cursor: not-allowed;
    box-shadow: none;
}

/*********************************************
 * EXCLUDE BUTTON (Also Blue)
 *********************************************/
.exclude-button {
    background-color: #fff;
    color: var(--secondary-color);
    border: 0.5px solid var(--secondary-color);
    height: 39px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: normal;
    padding: 0.45rem 0.75rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.exclude-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.exclude-button:disabled,
.exclude-button[disabled] {
    background-color: #b3cfe7; /* lighter fade of var(--secondary-color) */
    color: #f0f0f0;
    border-color: #b3cfe7;
    cursor: not-allowed;
    box-shadow: none;
}

/*********************************************
 * MAYBE BUTTON (Same Style)
 *********************************************/
.maybe-button {
    background-color: #fff;
    color: var(--secondary-color);
    border: 0.5px solid var(--secondary-color);
    height: 39px;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: normal;
    padding: 0.45rem 0.75rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.maybe-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.maybe-button:disabled,
.maybe-button[disabled] {
    background-color: #b3cfe7;
    color: #f0f0f0;
    border-color: #b3cfe7;
    cursor: not-allowed;
    box-shadow: none;
}
