@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('./icons.css');

/* Mask text for password-style fields without using DxTextBox Password property */
.password-mask {
    -webkit-text-security: disc;
    text-security: disc;
}

/* Force pointer cursor on vault action icon buttons */
.vault-action-btn,
.vault-action-btn * {
    cursor: pointer !important;
}

html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

/* Highlight flash animation for scroll-to-element */
@keyframes highlight-flash {
    0% { background-color: var(--dxds-color-surface-primary-default-rest); }
    100% { background-color: transparent; }
}

.highlight-flash {
    animation: highlight-flash 2s ease-out;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--dxds-color-border-success-default-rest);
}

.invalid {
    outline: 1px solid var(--dxds-color-border-danger-default-rest);
}

.validation-message {
    color: var(--dxds-color-content-danger-default-rest);
}

.button-link {
    text-decoration: unset;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.title.title-secondary {
    padding: 0.313rem 0 0;
    color: var(--dxds-color-content-secondary-default-rest);
}

.title-header-text {
    font-size: var(--dxds-font-size-headline-lg);
    font-weight: var(--dxds-font-weight-headline-default);
    letter-spacing: var(--dxds-letter-spacing-headline-lg);
    line-height: var(--dxds-line-height-headline-lg);
}

.title-content-text {
    font-size: var(--dxds-font-size-base-lg);
    font-weight: var(--dxds-font-weight-base-default);
    letter-spacing: var(--dxds-letter-spacing-base-lg);
    line-height: var(--dxds-line-height-base-lg);
}

.main-content {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.block-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    height: auto;
    max-width: 100%;
    width: 31.25rem;
}

.or {
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 0.3125rem 0;
}

.or .or-line {
    opacity: 0.2;
    width: 100%;
    border-bottom: 1px solid var(--dxds-color-content-neutral-default-rest);
}

.or .or-text {
    padding: 0 0.625rem 0 0.625rem;
    font-size: var(--dxds-font-size-caption-md);
    line-height: var(--dxds-line-height-caption-md);
    color: var(--dxds-color-content-neutral-subdued-rest);
}

.links-container {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

    .links-container .dot {
        border-radius: 50%;
        height: 0.3125rem;
        margin: 0 0.1875rem;
        opacity: 0.7;
        width: 0.3125rem;
        background-color: var(--dxds-color-surface-success-default-rest);
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    background: var(--dxds-color-surface-info-subdued-rest);
}

.info-message.info-panel {
    margin-bottom: 0.625rem;
}

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    font-size: 1.875rem;
    height: 4.3125rem;
}

.title-content-text-secondary {
    font-size: var(--dxds-font-size-title-md);
    line-height: var(--dxds-line-height-title-md);
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.vt-50 {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
    height: 100vh; /* full viewport height */
    margin: 0;
}
.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.d-block {
    display: block !important;
}


.gap-2 {
    gap: .5rem !important;
}


.text-muted {
    --bs-text-opacity: 1;
    color: var(--dxds-color-content-neutral-subdued-rest) !important;
}

/* Red asterisk for required field captions */
.dxbl-fl .dxbl-fl-cpt.required-caption::after {
    content: "\00a0*";
    color: red;
    font-weight: bold;
}
}

.small {
    font-size: 0.875em;
}

.fw-semibold {
    font-weight: 600 !important;
}
    

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dxds-color-content-neutral-default-rest);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--dxds-color-surface-neutral-default-rest);
    background-color: var(--dxds-color-surface-neutral-default-rest);
    background-clip: padding-box;
    border: var(--dxds-color-border-neutral-default-inverted-rest);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-sm {
    min-height: calc(1.5em + 0.5rem + calc(var(--sd-form-border-width) * 2));
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + calc(var(--sd-form-border-width) * 2));
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

.display-desktop {
    display: block;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }
}
