/* 
  WP Font Uploader - Frontend Styles 
*/
.wpfu-wrapper {
    font-family: "Inter", "Roboto", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wpfu-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    align-items: center;
}

.wpfu-control-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 200px;
    min-width: 200px;
}

.wpfu-control-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.wpfu-control-group input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.wpfu-control-group input[type="text"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.wpfu-control-group input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.color-pickers {
    display: flex;
    flex-direction: row;
    gap: 20px;
    min-width: auto;
}

.color-picker-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.color-picker-wrap input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    cursor: pointer;
    background: none;
    padding: 0;
}

.wpfu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.wpfu-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wpfu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.wpfu-card-header {
    background: #f1f5f9;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpfu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

.wpfu-preview-area {
    padding: 30px 20px;
    min-height: 150px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: break-word;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.wpfu-card-actions {
    display: flex;
    padding: 16px;
    gap: 12px;
    justify-content: center;
    background: #ffffff;
}

.wpfu-btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wpfu-btn-primary {
    background: #3b82f6;
    color: white;
}

.wpfu-btn-primary:hover {
    background: #2563eb;
    color: white;
}

.wpfu-btn-secondary {
    background: #10b981;
    color: white;
}

.wpfu-btn-secondary:hover {
    background: #059669;
    color: white;
}

/* Scrollbar for container if needed */
.wpfu-cards::-webkit-scrollbar {
    width: 6px;
}

.wpfu-converter-controls {
    flex-direction: column;
    align-items: stretch;
}

.wpfu-control-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .wpfu-control-container {
        flex-direction: row;
    }
}

.wpfu-converter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.wpfu-converter-header label {
    margin: 0;
}

.wpfu-control-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wpfu-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.wpfu-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.wpfu-kruti-font {
    /* font-family: 'Kruti Dev 010', sans-serif; */
    /* font-size: 1.2rem; */
}

.wpfu-btn.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.wpfu-btn-copy {
    background: #64748b;
    color: white;
}

.wpfu-btn-copy:hover {
    background: #475569;
    color: white;
}

.wpfu-btn-clear {
    background: #ef4444;
    color: white;
}

.wpfu-btn-clear:hover {
    background: #dc2626;
    color: white;
}
