html,
body {
    font-family: "Segoe UI";
    background-color: #ffffff;
}

.compose-taskpane-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.pgp-container {
    margin: 20px;
    flex: 1;
}

.pgp-toggle {
    display: flex;
}

.pgp-toggle__text {
    margin-left: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #242424;
}

/* Dropdown */
.ms-Dropdown-title {
    border-radius: 5px;
    height: 35px;
    font-size: 13px;
    padding: 5px 5px 5px 10px;
}

.pgp-container__dropdwon {
    margin-bottom: 10px;
}

.pgp-dropdown,
.pgp-dropdown-days {
    display: flex;
}

.pgp-dropdwon-select {
    margin-bottom: 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pgp-more-option {
    margin: 30px 10px 15px 0;
}

.pgp-more-option__text {
    margin-left: 9px;
    cursor: pointer;
}

.pgp-more-option__panel {
    margin-left: 25px
}

.dropdown-30 {
    width: 30%;
}

.pgp-dropdown-days {
    display: flex;
    margin-top: 10px;
    width: 45%;
}

.pgp-dropdwon__text {
    margin: 7px;
    font-size: 14px;
    white-space: nowrap;
}

/* Dropdown - general styling */
.custom-dropdown {
    position: relative;
    width: 200px;
}

.ms-TextField {
    width: 280px;
    padding: 7px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    color: #242424;
    font-size: 14px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

input:focus,
select:focus-visible {
    border-color: #E0E0E0;
    background-color: #EBF3FC;
    color: #242424;
    outline: none;
}

/* Button Styles */
.ms-Button {
    width: max-content;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
}

.ms-Button:hover {
    background-color: #E0E0E0;
}

.ms-Button.ms-Button--primary {
    width: 276px;
    border-radius: 2px;
    color: #FFFFFF;
    background-color: #0F6CBD;
    border-color: #0F6CBD;
    margin-bottom: 10px;
}

.pgp-button-edit {
    font-weight: 600;
    font-size: 12px;
    color: #FFFFFF;
    background-color: #0F6CBD !important;
    border-color: #0F6CBD !important;
    margin: 25px 4px 10px 7px;
}

.pgp-save-default {
    width: 272px;
    color: #333;
}

.ms-Dialog-action {
    width: 276px;
    border-radius: 2px;
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    border: 1px solid #D1D1D1;
}

.ms-Dialog-actions {
    text-align: right;
    margin-top: 0px;
}

/* Dialog */
.ms-Dialog {
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    position: fixed;
    height: auto;
    min-width: 278px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

#dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.ms-Dialog-buttonClose {
    top: 25px;
    right: 30px;
}

.pgp-dailog-desc {
    font-size: 14px;
    color: #000000;
    margin-top: 0px;
    margin-bottom: 14px;
}

/* Spinner */
.ms-Spinner--large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Options list */
.options-list {
    position: absolute;
    list-style: none;
    text-align: center;
    display: none;
    width: 60px;
    top: 22px;
    right: 0px;
    background-color: white;
    z-index: 1000;
    max-height: 400px;
    padding: 0px;
}

.options-list li {
    box-shadow: -9px 0px 10px -9px rgba(0, 0, 0, 0.2), 9px 0px 10px -9px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
}

.options-list li:hover {
    background-color: #f0f0f0;
}

/* Misc */
.pgp-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pgp-label {
    display: flex;
    height: 22px;
}

.pgp-passcode {
    position: relative;
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Remove extra bottom padding from the input field */
.pgp-passcode {
    position: relative;
}

.pgp-password-container {
    display: flex;
}

.pgp-eye-icon-shared {
    width: 24px;
    height: 24px;
    margin-top: 5px;
    margin-left: -30px;

    cursor: pointer;
}

#password-field {
    margin-bottom: 15px;
    padding-bottom: 5px; 
}


.pgp-password-error {
    color: red;
    font-size: 12px;
    margin-left: 5px;
    display: none;
}

.pgp-password-success {
    color: green;
    font-size: 12px;
    margin-left: 5px;
    display: none;
}


.ms-Fabric--isFocusHidden :focus {
    outline: none;
}

.dropdown-100 {
    width: 245px;
}

/*more option*/
.pgp-dropdwon-title {
    width: 60px;

    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
    background-image: url('assets/down-arrow.png');
}

.pgp-dropdwon__icon {
    position: absolute;
    margin-left: 50px;
    margin-top: 15px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ms-Button:disabled,
.ms-Button.ms-Button--primary:disabled {
    background-color: #0F6CBD;
    color: white;
    border-color: #0F6CBD;
    opacity: 0.6;
    cursor: not-allowed;
}

.ms-Button:disabled .ms-Button-label,
.ms-Button.ms-Button--primary:disabled .ms-Button-label {
    color: white;
}

#save-as-default .ms-Button-label {
    color: white;
}


.pgp-update-category .ms-Button-label {
    color: black;
}


.pgp-save-default .ms-Button[disabled] .ms-Button-label {
    color: white;
}


.ms-Button:focus {
    background-color: #eaeaea;
    border-color: #eaeaea;
    outline: 1px solid transparent;
}


input:focus {
    border-color: #E0E0E0;
    background-color: #EBF3FC;
    color: #242424;
    outline: none;
}



.pgp-categorization__icon {
    margin-left: 2px;
}


.ms-CheckBox-field.is-checked:before {
    border: 6px solid #0078d7;
}

.ms-CheckBox-field:before {
    border: 1px solid #a6a6a6;
    width: 12px;
    height: 12px;
}

.ms-CheckBox-field:after {
    font-size: 10px;
    top: 0px;
    line-height: 12px;
    width: 12px;
}

.ms-CheckBox .ms-Label {
    font-size: 14px;
    padding: 0;
    margin: 0px 0px 0px 20px;
}

.ms-CheckBox {
    line-height: 15px !important;
}

.ms-CheckBox-field {
    cursor: pointer;
    display: flex;
    margin: 18px 5px 5px 0;
}

.pgp-checkbox__input input[type="checkbox"] {
    margin: 10px;
}

.ms-Label {
    font-size: 14px;
    color: #242424;
}

.pgp-checkbox-input {
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    margin: -7% 0 2% -6%;
}

/* Shared Passphrase Dailog box */
.pgp-input-label {
    font-size: 14px;
    font-weight: 400;
    color: #242424;
    margin-left: 5px;
}

.pgp-passphrase__icon {
    margin: 4px 2px 2px 3px;
}

.pgp-star {
    padding-left: 3px;
    color: #B10E1C;
}

.pgp-error-msg {
    color: #B10E1C;
    display: none;
    margin-top: 5px;
}

/* edit prefrences  */
.pgp-setting__text {
    margin-left: 2px;
    font-weight: 600;
    color: #424242;
}

.pgp-edit-preferences {
    display: flex;
}

.pgp-add-in__setting {
    margin: 1px 0px 15px 9px;
    display: flex;
    align-items: center;
}

.pgp-divider {
    border: 1px solid #E0E0E0;
}

.pgp-footer-version {
    text-align: right;
}

.pgp-footer-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #424242;
    display: flex;
    justify-content: space-between;
}

.pgp-add-in__footer {
    padding: 10px;
    text-align: center;
}

/* edit prefrences Dailog box */
.ms-Dropdown .ms-Label {
    text-align: left;
}

.pgp-categorization {
    display: flex;
    align-items: center;
}

.pgp-categorization__text {
    font-weight: 400;
    color: #242424;
    margin: 2% 1% 5% 1%;
}

.pgp-categorization__icon {
    margin-left: 2px;
}

.pgp-update-category {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pgp-update-message {
    display: none;
    font-weight: 400;
    font-size: 12px;
    color: #0F6CBD;
}

.pgp-logging-dropdown {
    width: 161px;
}

.ms-Dialog-buttonClose .ms-Icon.ms-Icon--Cancel {
    color: #424242;
    font-size: 12px;
}

.ms-Dialog-title {
    font-size: 20px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 0;
}

.pgp-preferences-title {
    font-weight: 400;
}

.ms-Dialog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ms-Dialog-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ms-Dialog-actions .ms-Button {
    width: 280px;
}

.ms-Dialog-title {
    margin-bottom: 15px;
}

.ms-Dialog.ms-Dialog--close:not(.ms-Dialog--lgHeader) .ms-Dialog-title {
    margin-right: 165px;
}

.ms-Dialog.is-open {
    height: auto;
}

.ms-Dialog {
    border-radius: 18px
}

/* Overlay for the dialog */
#dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.ms-Overlay.is-visible {
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Custom styles for the select dropdown */
.ms-Dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
    border: 1px solid #ccc;
    background-color: white;
    color: black;
    font-size: 14px;
    padding-left: 10px;
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
    background-image: url('assets/down-arrow.png');
}

.select:focus-visible {
    outline: none;
}

/* Spinner */
#spinnerContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.ms-Spinner {
    width: 50px;
    height: 50px;
}

/* Tooltip */
.tooltip-img {
    position: relative;
    cursor: pointer;
    padding-left: 2px;
    padding-top: 5px;
}

.tooltip-img::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip-img:hover::after {
    visibility: visible;
    opacity: 1;
}

input[type=password]::-ms-reveal
{
    display: none;
}

.pgp-edit-preferences-button .ms-Button {
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-image: url('assets/settings.png');
    padding-left: 35px;
}