/* IPO Domain Checker Styles */
.domain-input {
    max-width: 600px;
    margin: 2rem auto;
}

.result-box {
    font-size: 1.2rem;
}

/* Error styling improvements */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

/* Animation for error messages */
#result {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input validation styling */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    20%,
    40%,
    60%,
    80% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70% {
        transform: translateX(-5px);
    }
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Toast notification styling */
.toast {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.toast-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.toast-body {
    font-weight: 500;
}