@import url('variables.css');

.PopupWindow {
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: 10px;
    height: 100px;
    width: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #F2F2F5;
    border-left: 1px solid #BCBCBC;
    border-right: 1px solid #BCBCBC;
    border-bottom: 1px solid #BCBCBC;
    box-sizing: border-box;
}

.PopupTitleText {
    position: relative;
    margin-left: 15px;
    cursor: default;
}

.PopupTitleBar {
    position: relative;
    font-family: arial, sans-serif;
    color: white;
    font-size: medium;
    font-weight: bold;
    text-align: left;
    width: 100%;
    height: 32px;
    line-height: normal;
    background-color: var(--emerald-light-70);
    display: flex;
    align-items: center;
}

.PopupTopBar  {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.PopupExit {
    text-decoration: none;
    float: right;
    font-size: 24px;
    font-weight: bold;
    color: inherit;
    margin-right: 15px;
    height: 100%;
}

.PopupExit:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.PopupMain {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.PopupClientArea {
    position: relative;
}

/* Search Dialog Specific Styles */

#sdlgSearchBtn {
    background: var(--emerald-light-80);
    padding: 4px;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

#sdlgSearchBtn:enabled:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90);
}

#sdlgCancelBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgCancelBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgClearHighlightsBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgClearHighlightsBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgSearchHints {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgSearchHints:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgGotoBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgGotoBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgPrevMatchBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgPrevMatchBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgNextMatchBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#sdlgNextMatchBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#sdlgSortByHits {
    accent-color: var(--emerald-light-80);
}

#sdlgTitlesOnly {
    accent-color: var(--emerald-light-80);
}

#sdlgAllGroups {
    accent-color: var(--emerald-light-80);
}

#sdlgSelectedGroups {
    accent-color: var(--emerald-light-80);
}

#sdlgCurrentTopic {
    accent-color: var(--emerald-light-80);
}

/* Index Specific Styles */

#idlgOkBtn {
    background: var(--emerald-light-80);
    padding: 4px;
    border: none !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

#idlgOkBtn:enabled:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90);
}

#idlgCancelBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#idlgCancelBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

/* History Specific Styles */

#historyGotoBtn {
    background: var(--emerald-light-80);
    padding: 4px;
    border: none !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

#historyGotoBtn:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90);
}

#historyCancelBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#historyCancelBtn:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

/* Bookmark Specific Styles */
#bookmarksGotoBtn {
    background: var(--emerald-light-80);
    padding: 4px;
    border: none !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

#bookmarksGotoBtn:enabled:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90);
}

#bookmarksAddBtn {
    background: var(--emerald-light-80);
    padding: 4px;
    border: none !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: white;
}

#bookmarksAddBtn:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90);
}

#bookmarksEditBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#bookmarksEditBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#bookmarksDeleteBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

bookmarksDeleteBtn:enabled:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

#bookmarksCancelBtn {
    background: var(--gray-10);
    padding: 4px;
    border: 1px solid var(--gray-50) !important;
    border-radius: 0.25rem;
    cursor: pointer;
    color: black;
}

#bookmarksCancelBtn:hover {
    background: var(--gray-20);
    cursor: pointer;
    box-shadow: none !important;
}

/* Contact & About Dialog Specific Styles */

.theme-title {
    color: white !important;
    background: var(--emerald-light-70)!important;
    font-weight: bold;
}

.theme-background {
    background: #F2F2F5!important;
}

#btnContactUsOK, #btnAboutOK {
    background: var(--emerald-light-80) !important;
    padding: 4px;
    border: none !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    color: white !important;
}

#btnContactUsOK:hover, #btnAboutOK:hover {
    cursor: pointer;
    box-shadow: none !important;
    background: var(--emerald-light-90) !important;
}

#CustomerCareLink {
    text-decoration: none;
    color: #0A5BC3!important;
    cursor: pointer;
}

#CustomerCareLink:hover {
    text-decoration: underline;
    color: #08499D!important;
    cursor: pointer;
}

span[onclick*="solventumhis.servicenowservices.com"] {
    text-decoration: none !important;
    color: #0A5BC3!important;
    cursor: pointer;
}

span[onclick*="solventumhis.servicenowservices.com"]:hover {
    text-decoration: underline !important;
    color: #08499D!important;
    cursor: pointer;
}
/* Search & Bookmark specific rules */
[id^="sdlg"][id$="Btn"]:enabled:hover,
[id^="bookmarks"][id$="Btn"]:not([id="bookmarksBtn"]):enabled:hover {
    cursor: pointer;
    box-shadow: none !important;
}

[id^="sdlg"][id$="Btn"]:disabled,
[id^="bookmarks"][id$="Btn"]:not([id="bookmarksBtn"]):disabled {
    font-weight: normal;
    color: #203040;
    font-family: Arial,Tahoma,Sans-serif;
    height: 27px;
    vertical-align: middle;
    cursor: not-allowed!important;
    opacity: 0.3;
}
