/* UTF-8 Converter Modern Styles */

.utf8_mainCard__pR7uv {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 32px;
}

.utf8_mainCard__pR7uv:hover {
    border-color: rgba(14, 165, 234, 0.3);
    box-shadow: 0 8px 32px rgba(14, 165, 234, 0.1);
}

[data-theme="light"] .utf8_mainCard__pR7uv {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .utf8_mainCard__pR7uv:hover {
    border-color: rgba(14, 165, 234, 0.3);
    box-shadow: 0 8px 32px rgba(14, 165, 234, 0.08);
}

/* Grid Layout */
.utf8_grid__ipjZv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* Section Styles */
.utf8_inputSection__iST7V,
.utf8_resultSection__uq9KL {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.utf8_sectionHeader__aCAIK {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utf8_labelWrapper__O1ov_ {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utf8_labelIcon__TCa_8 {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 234, 0.3));
}

.utf8_label__KfOWG {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #e2e8f0);
}

[data-theme="light"] .utf8_label__KfOWG {
    color: var(--text-primary, #334155);
}

.utf8_charCount__6Kemp {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    font-weight: 500;
}

/* Textarea Wrapper */
.utf8_textareaWrapper__BMi_7 {
    position: relative;
}

.utf8_textarea__3Bs2_ {
    width: 100%;
    min-height: 280px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary, #e2e8f0);
    font-size: 0.9375rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
}

.utf8_textarea__3Bs2_:focus {
    border-color: rgba(14, 165, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 165, 234, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

.utf8_textarea__3Bs2_::placeholder {
    color: var(--text-secondary, #64748b);
}

[data-theme="light"] .utf8_textarea__3Bs2_ {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary, #1e293b);
}

[data-theme="light"] .utf8_textarea__3Bs2_:focus {
    border-color: rgba(14, 165, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 165, 234, 0.08);
    background: #ffffff;
}

/* Clear Button */
.utf8_clearButton__OT4Rx {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.utf8_clearButton__OT4Rx:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.05);
}

.utf8_clearButton__OT4Rx:active {
    transform: scale(0.95);
}

/* Action Grid */
.utf8_actionGrid__r_w6o {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.utf8_actionCard__imtLF {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.utf8_actionCard__imtLF::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 234, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.utf8_actionCard__imtLF:hover {
    border-color: rgba(14, 165, 234, 0.4);
    box-shadow: 0 8px 24px rgba(14, 165, 234, 0.15);
    transform: translateY(-2px);
}

.utf8_actionCard__imtLF:hover::before {
    opacity: 1;
}

.utf8_actionCard__imtLF:active {
    transform: translateY(0);
}

[data-theme="light"] .utf8_actionCard__imtLF {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .utf8_actionCard__imtLF:hover {
    border-color: rgba(14, 165, 234, 0.4);
    box-shadow: 0 8px 24px rgba(14, 165, 234, 0.1);
}

.utf8_actionIcon__u5gAw {
    font-size: 2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 234, 0.3));
}

.utf8_actionTitle__aXju5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #e2e8f0);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .utf8_actionTitle__aXju5 {
    color: var(--text-primary, #1e293b);
}

.utf8_actionDesc__OJhS5 {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    position: relative;
    z-index: 1;
}

[data-theme="light"] .utf8_actionDesc__OJhS5 {
    color: var(--text-secondary, #64748b);
}

.utf8_actionArrow__J_Fse {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 1.5rem;
    color: #0ea5e9;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.utf8_actionCard__imtLF:hover .utf8_actionArrow__J_Fse {
    transform: translateX(4px);
}

/* Result Box */
.utf8_resultBox__kr_GS {
    padding: 20px;
    background: rgba(14, 165, 234, 0.05);
    border: 1px solid rgba(14, 165, 234, 0.2);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-primary, #e2e8f0);
    word-break: break-all;
    min-height: 280px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
}

[data-theme="light"] .utf8_resultBox__kr_GS {
    background: rgba(14, 165, 234, 0.03);
    border-color: rgba(14, 165, 234, 0.15);
    color: var(--text-primary, #1e293b);
}

/* Copy Button */
.utf8_copyButton__uWZEi {
    padding: 10px 20px;
    background: rgba(14, 165, 234, 0.1);
    border: 1px solid rgba(14, 165, 234, 0.3);
    border-radius: 10px;
    color: #0ea5e9;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.utf8_copyButton__uWZEi:hover {
    background: rgba(14, 165, 234, 0.2);
    border-color: rgba(14, 165, 234, 0.5);
    transform: translateY(-2px);
}

.utf8_copyButton__uWZEi:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .utf8_grid__ipjZv {
        grid-template-columns: 1fr;
    }

    .utf8_actionGrid__r_w6o {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .utf8_mainCard__pR7uv {
        padding: 24px 20px;
    }

    .utf8_textarea__3Bs2_ {
        min-height: 200px;
    }

    .utf8_resultBox__kr_GS {
        min-height: 200px;
    }
}

