/* Reference confluence page for more information - https://purlos.atlassian.net/wiki/spaces/ED/pages/41779201/Purlos+Style+Sheet */


:root {
    --purlos-primary: #1277d9;
    --purlos-primary-dark: #0e5fae;
    --purlos-primary-light: #a0c8ef;
    --purlos-primary-charcoal: #535353;
    --purlos-primary-background: #4595ff;
}

/* Buttons */

.pl-button-primary {
    display: flex;
    padding: 4px 18px;
    border-radius: 4px;
    color: white;
    background-color: var(--purlos-primary);
    border: solid 1px var(--purlos-primary);
}

.pl-button-primary:hover {
    background-color: var(--purlos-primary-dark);
    border: solid 1px var(--purlos-primary-dark);
    cursor: pointer;
}

.pl-button-primary:disabled {
    cursor: not-allowed;
    background-color: var(--purlos-primary-light);
    border: solid 1px var(--purlos-primary-light);
}

.pl-button-secondary {
    display: flex;
    padding: 4px 18px;
    border-radius: 4px;
    color: black;
    background-color: white;
    border: solid 1px black;
}

.pl-button-secondary:hover {
    color: #989898;
    background-color: white;
    border: solid 1px #989898;
}

.pl-button-secondary:disabled {
    cursor: not-allowed;
    color: #95989a;
    background-color: white;
    border: solid 1px #95989a;
}

.pl-button-tertiary {
    display: flex;
    padding: 4px 18px;
    border-radius: 4px;
    color: white;
    background-color: var(--purlos-primary-charcoal);
    border: solid 1px var(--purlos-primary-charcoal);
}

.pl-button-tertiary:hover {
    background-color: black;
    border: solid 1px black;
}

.pl-button-tertiary:disabled {
    cursor: not-allowed;
    background-color: #cbcbcb;
    border: solid 1px #cbcbcb;
}

.pl-button-cta {
    display: flex;
    padding: 4px 18px;
    border-radius: 4px;

    color: white;
    background-color: #fc1b74;
    border: solid 1px #fc1b74;
}

.pl-button-cta:hover {
    background-color: #d81663;
    border: solid 1px #d81663;
    cursor: pointer;
}

.pl-button-cta:disabled {
    cursor: not-allowed;
    border: solid 1px #febad5;
    background-color: #febad5;
}

/* Modals */

/* Used alongside 'slds-fade-in-open' and 'slds-backdrop' to center a modal */
.pl-modal-parent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: initial;
}

.pl-modal {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    border-radius: 5px;
    overflow: initial;
    display: flex;
    flex-direction: column;
}

.pl-modal > .pl-modal-body {
    flex-grow: 1;
}

.pl-modal-small {
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 500px;
    height: 340px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    overflow: initial;
}

.pl-modal-small > .pl-modal-body {
    flex-grow: 1;
}

.pl-modal-medium {
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 900px;
    height: 720px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    overflow: initial;
}

.pl-modal-medium > .pl-modal-body {
    flex-grow: 1;
}

.pl-modal-large {
    background-color: white;
    display: flex;
    flex-direction: column;
    width: 1180px;
    height: 680px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    overflow: initial;
}

.pl-modal-large > .pl-modal-body {
    flex-grow: 1;
}

.pl-modal-header {
    color: white;
    background-color: var(--purlos-primary-background);
    border: solid var(--purlos-primary-background) 1px;
    padding: 15px 20px;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.pl-modal-header > h1 {
    font-size: 19.2px
}

.pl-modal-header > p {
    font-size: 14px;
} 

.pl-modal-header > button {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
}

.pl-modal-body {
    padding: 20px;
    border-left: solid #c4c4c4 1px;
    border-right: solid #c4c4c4 1px;
    overflow-y: auto;
    background-color: white;
}

.pl-modal-footer {
    padding: 20px;
    border-radius: 0 0 5px 5px;
    border-top: solid #c4c4c4 1px;
    background-color: #f7f9fb;
    border: solid #c4c4c4 1px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.pl-modal-footer-left-align {
    justify-content: flex-start;
}

.pl-modal-footer-split-align {
    justify-content: space-between;
}

.pl-modal-footer-split-align > div {
    display: flex;
    gap: 10px;
}

/* Context Menu */

.pl-context-menu {
    width: 180px;
    border-radius: 5px;
    border: solid 1px #c4c4c4;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.pl-context-menu > li {
    padding: 8px 15px;
    white-space: nowrap; 
    text-overflow: ellipsis;
    overflow: hidden;
}

.pl-context-menu > li:only-child {
    border-radius: 5px;
    height: 33px;
}

.pl-context-menu > li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.pl-context-menu> li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.pl-context-menu > li:hover {
    background-color: #d8d8d8;
    cursor: pointer;
}