@font-face {
    font-family: 'hanzala';
    src: local('Hanzala'),
        url('../../fonts/Hanzala.ttf') format("truetype");
}

@font-face {
    font-family: 'rika';
    src: local('Rika'),
        url('../../fonts/Hanzala.ttf') format("truetype");
    /* TODO: Rika.ttf when ready */
}

[v-cloak]>* {
    display: none;
}

/* Fixed height for the boxes (h-80 in Tailwind is approx 20rem/320px) */
.h-custom-80 {
    height: 24rem;
    display: flex;
    flex-direction: column;
}

/* Font Serif override for the Ottoman input */
.font-serif {
    font-family: serif;
}

/* Action Circle Styles */
.action-circle {
    width: 2.5rem;
    height: 2.5rem;
    transition: all 0.3s ease;
    /* Mobile: Rotate 90deg (Vertical) */
    transform: rotate(90deg);
}

/* Desktop: Rotate back to 0 (Horizontal) */
@media (min-width: 768px) {
    .action-circle {
        transform: rotate(0deg);
    }
}

/* Animation classes */
.scale-up {
    transform: scale(1.1) !important;
    /* Overrides rotation during loading if needed, or adjust logic */
}

.hover-primary:hover {
    color: var(--bs-primary) !important;
}

.resize-none {
    resize: none;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

.transition-bg {
    transition: background-color 0.2s ease;
}

.transition-opacity {
    transition: opacity 0.3s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

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

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

/* Language Tab Styles */
.lang-tab {
    background: none;
    border: none;

    margin-right: 1.5rem;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.lang-tab:hover {
    color: #495057;
}

.lang-tab.active {
    color: #0d6efd;
}

.lang-tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

.lang-tab:disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.lang-tab:disabled:hover {
    color: #ccc;
}

.opacity-25 {
    opacity: 0.25;
}