.trial-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.trial-submit[disabled]:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    background: var(--accent);
}

.m-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.m-submit[disabled]:hover {
    background: var(--accent);
}

.m-submit.side-fixed-submit[disabled] {
    background: var(--green);
}

.form-submit[disabled]:hover {
    transform: translateY(0px) !important;
    box-shadow: none !important;
}

input.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input.is-invalid:focus {
    border-color: #dc3545;
}

.trial-input {
    min-width: 100%;
    max-width: 100%;
}

.m-input-box {
    margin-bottom: var(--space-sm);
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 5px;
    padding-top: 0;
    line-height: 1;
    font-size: .875em;
    color: #dc3545;
    text-align: left;
    padding-left: 16px;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.preloader img {
    margin-top: 16px;
    width: 32px;
    height: 32px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.d-none {
    display: none;
}

.text-start {
    text-align: left;
}

.text-center {
    text-align: center;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

.cursor-pointer {
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

@media (min-width: 576px) {
    .modal-content {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
}

.modal-content {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

.hidden {
    display: none;
}

@media (max-width: 900px) {
    .form-row-md {
        grid-template-columns: 1fr;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 1500;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-dark);
    animation: slideUpCookie 0.5s ease;
}
.cookie-consent p { margin: 0; max-width: 800px; line-height: 1.5; }
.cookie-consent a { color: var(--green); text-decoration: underline; font-weight: 500; }
.cookie-consent button {
    background: var(--green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.cookie-consent button:hover { background: #2a7a2a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(52,153,54,0.3); }
@keyframes slideUpCookie { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (max-width: 600px) {
    .cookie-consent { padding: var(--space-sm); gap: var(--space-sm); text-align: center; }
    .cookie-consent p { font-size: 13px; }
}

.constructor-input {
    width: 100%;
}
@media (min-width: 600px) {
    .constructor-input {
        width: 260px;
    }
}
@media (max-width: 600px) {
    .small-font-xs {
        font-size: 11px !important;
    }
}

