/* Uses variables from rirtech/wwwroot/scss/default/_variables.scss */

.privacy-notice {
    margin: 8px 0 15px 0;
    font-family: var(--font-secondary, "DM Sans", sans-serif);
}

.privacy-notice small {
    color: var(--color-body, #5D666F);
    font-size: 12px;
    line-height: 1.4;
    display: block;
    opacity: 0.8;
}

.privacy-notice a {
    color: var(--color-body, #5D666F);
    text-decoration: none;
    border-bottom: 1px dotted var(--color-body, #5D666F);
    transition: all var(--transition, 0.3s);
}

.privacy-notice a:hover {
    color: var(--color-primary, #20282D);
    border-bottom-style: solid;
}

.rts-form-popup {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-radius: var(--radius, 10px);
    background-color: var(--color-primary, #20282D);
    color: var(--color-white, #fff);
    font-family: var(--font-primary, "Red Hat Display", sans-serif);
    font-size: var(--font-size-b1, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 5px solid transparent;
    overflow: hidden;
}

.rts-form-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.rts-form-popup.loading {
    border-left-color: var(--color-info, #1BA2DB);
}

.rts-form-popup.success {
    border-left-color: var(--color-success, #3EB75E);
}

.rts-form-popup.error {
    border-left-color: var(--color-danger, #FF0003);
}

.rts-form-popup .popup-content {
    display: flex;
    align-items: center;
}

.rts-form-popup #popup-icon {
    margin-right: 15px;
    font-size: 22px;
    line-height: 1;
    animation: bounce-in 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes bounce-in {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.rts-form-popup.loading #popup-icon::before {
    content: '⏳';
    animation: spin 1.2s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rts-form-popup.success #popup-icon::before {
    content: '✓';
}
.rts-form-popup.error #popup-icon::before {
    content: '!';
    font-weight: bold;
}

.rts-form-popup #popup-message {
    font-weight: 500;
}

.rts-form-popup .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
}

.rts-form-popup.loading .progress-bar {
   display: none;
}

.rts-form-popup.success .progress-bar {
    background-color: var(--color-success, #3EB75E);
    transition: width 3s linear;
    width: 100%;
}

.rts-form-popup.error .progress-bar {
    background-color: var(--color-danger, #FF0003);
    transition: width 3s linear;
    width: 100%;
} 