.unicode-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 98%;
    margin: 0 auto;
}

.unicode-header {
    text-align: center;
    color: #1f2937;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.unicode-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #8c1829;
    margin: 10px auto 0;
    border-radius: 2px;
}

.unicode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 25px;
    justify-content: center;
}

.unicode-tab-btn {
    padding: 12px 24px;
    background: transparent;
    color: #4b5563;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px 6px 0 0;
}

.unicode-tab-btn:hover {
    color: #8c1829;
    background: #f9fafb;
}

.unicode-tab-btn.active {
    color: #8c1829;
    border-bottom-color: #8c1829;
    background: #fff;
}

.unicode-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.unicode-tab-content.active {
    display: block;
}

.converter-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

    .converter-box {
        flex: 1;
    }
}

.converter-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.converter-box label {
    font-weight: 700;
    color: #374151;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.converter-box textarea {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    padding: 15px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1.25rem;
    resize: vertical;
    transition: border-color 0.3s;
    background-color: #fcfcfc;
}

.converter-box textarea:focus {
    outline: none;
    border-color: #8c1829;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.font-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4b5563, #374151);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
}

.font-download-btn:hover {
    background: linear-gradient(135deg, #374151, #1f2937);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

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

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

.preeti-font-input {
    font-family: 'Preeti', sans-serif;
}
