/**
 * Register Page Styles
 */

/* Smooth transitions */
* {
    transition: all 0.2s ease;
}

/* Input focus states */
input:focus {
    outline: none;
}

/* Radio button styling with icons */
input[type="radio"]:checked+span {
    font-weight: 600;
}

/* Business type cards hover effect */
label:has(input[type="radio"]):hover {
    transform: translateY(-2px);
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Error message animation */
#error-message {
    animation: slideDown 0.3s ease-out;
}

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

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

/* Shake animation for validation errors */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

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

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

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Button hover effects */
button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Modal animations */
#business-model-modal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#business-model-modal>div {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Feature list animation */
.flex.items-start.gap-3 {
    animation: fadeInLeft 0.5s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* Illustration animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

img[alt="Quản lý dễ dàng"] {
    animation: float 6s ease-in-out infinite;
}

/* Social button hover effect */
#google-signup-btn:hover svg {
    transform: scale(1.1);
}

/* Business model modal buttons */
.business-model-option:hover {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    /* Hide illustration on mobile */
    img[alt="Quản lý dễ dàng"] {
        display: none;
    }
}