/* Tenant setup wizard (React)
   ------------------------------------------------------------------ */

/* style.css only defines these inside a max-width:680px media query —
   hoist them so validation errors show on every screen. */
.tenant-section .field.has-error input,
.tenant-section .field.has-error select,
.tenant-section .field.has-error textarea {
    border-color: #e0455a !important;
    box-shadow: 0 0 0 3px rgba(224, 69, 90, 0.12);
}

.tenant-section .field-error-msg {
    display: block;
    font-size: 12px;
    color: #e0455a;
    margin-top: 4px;
    animation: error-in 0.15s ease;
}

/* Uploaded image preview inside the dropzone */
.tenant-section .upload-dropzone .upload-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Review step */
.tenant-section .review-section {
    margin-top: 20px;
}

.tenant-section .review-section-title {
    font-weight: 600;
    margin: 0 0 8px;
}

.tenant-section .review-pick-plan {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #6b4ef0;
    text-decoration: underline;
}

.tenant-section .ready-banner.is-error {
    background: #fdecee;
    border-color: #e0455a;
}

.tenant-section .ready-banner.is-error span {
    color: #b21f33;
}

/* Searchable select (Country) */
.tenant-section .searchable-select {
    position: relative;
}

.tenant-section .searchable-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    text-align: left;
    color: #1e1e2d;
    background: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.tenant-section .searchable-select.is-open .searchable-select-trigger {
    border-color: #6b4ef0;
    box-shadow: 0 0 0 3px rgba(107, 78, 240, 0.12);
}

.tenant-section .searchable-select-trigger .is-placeholder {
    color: #9a9aa8;
}

.tenant-section .searchable-select-trigger svg {
    flex: none;
    color: #6b6b7b;
}

.tenant-section .searchable-select-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d9d9e3;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(20, 20, 43, 0.14);
    overflow: hidden;
}

.tenant-section .searchable-select-search {
    width: 100%;
    padding: 10px 14px;
    font: inherit;
    font-size: 14px;
    border: 0;
    border-bottom: 1px solid #ececf1;
    outline: none;
}

.tenant-section .searchable-select-list {
    list-style: none;
    margin: 0;
    padding: 4px;
    max-height: 240px;
    overflow-y: auto;
}

.tenant-section .searchable-select-option {
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 7px;
    cursor: pointer;
}

.tenant-section .searchable-select-option:hover {
    background: #f4f2ff;
}

.tenant-section .searchable-select-option.is-selected {
    background: #6b4ef0;
    color: #fff;
}

.tenant-section .searchable-select-empty {
    padding: 12px;
    font-size: 13px;
    color: #9a9aa8;
    text-align: center;
}

.tenant-section .field.has-error .searchable-select-trigger {
    border-color: #e0455a !important;
    box-shadow: 0 0 0 3px rgba(224, 69, 90, 0.12);
}

/* Disabled action buttons */
.tenant-section .actions .vr-btn[disabled] {
    opacity: 0.55;
    pointer-events: none;
}
