
.tcrDomainCheck {
    max-width: 800px;
    margin: 20px auto;
    font-family: "Outfit", sans-serif;
    width: 100%;
}

.tcrDomainCheckForm {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    max-width: 720px;   /* wichtig */
    margin: 0 auto;     /* zentriert horizontal */
    align-items: stretch;
    flex-wrap: wrap;
}

.tcrDomainCheckInputWrap {
    flex: 1 1 420px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfe0f2;
    border-radius: 12px;
    padding: 10px 16px;
    min-height: 58px;
    min-width: 0; /* wichtig für sauberes Shrinking */
}

.tcrDomainCheckPrefix {
    color: #6b7c93;
    font-weight: 600;
    margin-right: 6px;
    white-space: nowrap;
}

.tcrDomainCheckInput {
    flex: 1;
    padding: 12px 16px;
    border: 0;
    border-radius: 4px;
    font-size: 18px;
    outline: 0;
    background: transparent;
    color: #18324a;
    font-weight: 600;
    min-width: 0;
}

.tcrDomainCheckInput::placeholder {
    color: #8aa0b8;
    font-weight: 500;
}

.tcrDomainCheckButton {
    min-height: 58px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: #ff7300;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    flex: 0 0 auto;
    white-space: nowrap;
}

.tcrDomainCheckButton:hover {
    background: #e66700;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 115, 0, 0.22);
}

.tcrDomainCheckButton:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.tcrDomainCheckButton.is-loading {
    position: relative;
    color: transparent !important;
}

.tcrDomainCheckButton.is-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: tcr-spin 1s ease-in-out infinite;
}

@keyframes tcr-spin {
    to { transform: rotate(360deg); }
}

.tcrDomainCheckStatus {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    min-height: 24px;
    margin-top: 12px;
    font-size: 14px;
    color: #6b7c93;
}

.tcrDomainCheckStatus.is-error {
    background-color: #f8d7da;
    color: #721c24;
}

.tcrDomainCheckStatus.is-loading {
    background-color: #e2e3e5;
    color: #383d41;
}

.tcrDomainCheckResult {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.tcrDomainCheckResult:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tcrDomainCheckResult.is-available {
    border-left: 5px solid #28a745;
}

.tcrDomainCheckResult.is-unavailable {
    border-left: 5px solid #dc3545;
}

.tcrDomainCheckResultMain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.tcrDomainCheckDomain {
    font-size: 18px;
    font-weight: bold;
}

.tcrDomainCheckAvailability {
    font-weight: bold;
}

.is-available .tcrDomainCheckAvailability {
    color: #28a745;
}

.is-unavailable .tcrDomainCheckAvailability {
    color: #dc3545;
}

.tcrDomainCheckPrices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 5px 0 5px 0;
    padding: 5px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.tcrDomainCheckPriceItem {
    display: flex;
    flex-direction: column;
}

.tcrDomainCheckPriceLabel {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555555;
    margin-bottom: 4px;
}

.tcrDomainCheckPriceValue {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.tcrDomainCheckNote {
    font-size: 12px;
    color: #666;
    margin-top: -5px;
    margin-bottom: 15px;
    padding-left: 12px;
}

.tcrDomainCheckAction {
    align-self: flex-end;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.tcrDomainCheckAction:hover {
    background-color: #218838;
}

.is-unavailable .tcrDomainCheckAction {
    background-color: #0073aa;
}

.is-unavailable .tcrDomainCheckAction:hover {
    background-color: #005177;
}

.tcrDomainCheckEmpty {
    padding: 18px;
    border: 1px dashed #cfd9e6;
    border-radius: 16px;
    text-align: center;
    color: #5f7088;
    background: #ffffff;
}

.tcrDomainCheckResults {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

/* Compact Template Styles */
.tcrDomainCheck--compact .tcrDomainCheckForm {
    max-width: 100%;
}

.tcrDomainCheck--compact .tcrDomainCheckInputWrap {
    flex: 1 1 200px;
    min-height: 48px;
    padding: 5px 12px;
}

.tcrDomainCheck--compact .tcrDomainCheckButton {
    min-height: 48px;
    border-radius: 8px;
}

.tcrDomainCheck--compact .tcrDomainCheckInput {
    font-size: 16px;
}

.tcrDomainCheckInputRow {
    display: flex;
    gap: 12px;
    width: 100%;
}

@media (max-width: 767px) {
    .tcrDomainCheckForm {
        flex-direction: column;
    }

    .tcrDomainCheckButton {
        width: 100%;
    }
}
