@import url('./icons.css');

:root, [data-bs-theme=light] {
    --bs-primary: #008c70;
    --bs-primary-rgb: 0, 140, 112;
    --bs-blue: #008c70;
    --bs-link-color: #008c70;
    --bs-link-color-rgb: 0, 140, 112;
    --bs-link-hover-color: #006d57;
    --bs-link-hover-color-rgb: 0, 109, 87;
    --bs-primary-text-emphasis: #00382d;
    --bs-primary-bg-subtle: #cce8e3;
    --bs-primary-border-subtle: #99d1c6;
    --bs-focus-ring-color: rgba(0, 140, 112, 0.25);
}

html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.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(--bs-secondary-color);
}

.title-header-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 2.5rem;
}

.title-content-text {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.375rem;
}

.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(--bs-body-color);
}

.or .or-text {
    padding: 0 0.625rem 0 0.625rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: var(--bs-body-color);
    opacity: 0.7;
}

.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(--bs-body-color);
}

.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-color: rgb(var(--bs-primary-rgb) / 0.15);
}

.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: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.primary-btn {
    background-color: #008c70 !important;
    border-color: #008c70 !important;
    color: white;
    border-radius: 7px;
}

.primary-btn:disabled {
    background-color: #008c70 !important;
    border-color: #008c70 !important;
    color: white;
    opacity: 0.65;
    border-radius: 7px;
}

.primary-btn:hover {
    opacity: 0.85;
    color: white;
    border-radius: 7px;
}

.primary-btn-outline {
    border-color: #008c70;
    background-color: white;
    color: #008c70;
    border-radius: 7px;
}

.primary-btn-outline:hover {
    border-color: #008c70 !important;
    background-color: #008c70 !important;
    color: white;
    border-radius: 7px;
}

.success-btn {
    background-color: #008c70;
    color: white;
    border-radius: 7px;
    border-color: #008c70;
}

.success-btn:disabled {
    background-color: #008c70;
    opacity: 0.8;
    color: white;
    border-radius: 7px;
    border-color: transparent;
}

.success-btn:active {
    background-color: #008c70 !important;
    opacity: 0.8;
    color: white;
    border-radius: 7px;
    border-color: transparent;
}

.success-btn:hover {
    background-color: #008c70;
    opacity: 0.85;
    color: white;
    border-radius: 7px;
}

.warning-btn {
    background-color: #ffa800;
    color: white;
    border-radius: 7px;
}

.warning-btn:hover {
    background-color: #ffa800 !important;
    opacity: 0.85;
    color: white;
    border-radius: 7px;
}

.warning-btn-outline {
    border: 2px solid #ffd486;
    background-color: white;
    color: #ffa800;
    border-radius: 7px;
}

.warning-btn-outline:hover {
    border-color: #ffa800 !important;
    background-color: #ffa800 !important;
    color: white;
    border-radius: 7px;
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}
