.info-input {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
    outline: none;
}

.info-input:focus {
    border-color: #54c3ea;
    box-shadow: 0 0 0 2px rgba(84, 195, 234, 0.2);
}

.modal-footer-actions {
    justify-content: flex-end;
}

.search-bar {
    width: 250px;
    transition: all 0.3s ease;
}

.search-bar:focus {
    width: 300px;
    border-color: #54c3ea;
}

/* --- Empty State --- */
.empty-state-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #fdfdfd;
    border-radius: 15px;
    border: 2px dashed #e1e8ed;
}

.view-template-button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.view-template-button:hover {
    filter: brightness(0.9);
    transform: scale(1.02);
}

/* --- MOBIEL PORTRAIT --- */
@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .button-container {
        flex-direction: column;
        width: 100%;
    }
    .search-bar {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .template-cards-container {
        grid-template-columns: 1fr;
    }
}

/* --- MOBIEL LANDSCAPE --- */
@media (max-width: 932px) and (orientation: landscape) {
    .template-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .templates-title {
        font-size: 1.5rem;
    }
}