/* --- Devlys to Unicode Converter Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

.d2u-wrapper {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Light Grey Background */
    padding: 30px; border-radius: 20px;
    margin: 40px auto;
}
.d2u-container {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 16px; padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center; color: #343a40;
}
.d2u-header .fa-font { font-size: 2.5rem; color: #007bff; /* Blue */ margin-bottom: 10px; }
.d2u-header h2 { font-size: 1.8rem; color: #212529; margin: 0 0 5px; }
.d2u-header p { color: #6c757d; margin-bottom: 25px; }

.d2u-converter-grid {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 20px;
}
.d2u-textarea-wrap { text-align: left; position: relative; }
.d2u-textarea-wrap label { display: block; margin-bottom: 8px; font-weight: 500; }
.d2u-textarea-wrap textarea {
    width: 100%; height: 250px; box-sizing: border-box; resize: vertical;
    padding: 15px; border-radius: 8px; border: 1px solid #ced4da;
    background-color: #fff; color: #495057;
    font-size: 1.1rem; line-height: 1.7;
}
.d2u-textarea-wrap textarea:focus { outline: 2px solid #007bff; border-color: transparent; }
#d2u-input-text { font-family: 'DevLys 010', 'Courier New', monospace; } /* Apply font if installed */

.d2u-action-area { display: flex; justify-content: center; }
.d2u-btn {
    padding: 12px 24px; font-size: 1rem; font-weight: 700;
    color: #fff; background-color: #007bff; /* Blue */
    border: none; border-radius: 8px; cursor: pointer;
    transition: all 0.2s ease; position: relative;
    min-width: 150px; text-align: center;
}
.d2u-btn:hover { background-color: #0069d9; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,123,255,0.3); }
.d2u-spinner {
    border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; width: 20px; height: 20px;
    animation: d2u-spin 1s linear infinite; display: inline-block;
}
@keyframes d2u-spin { to { transform: rotate(360deg); } }

.d2u-copy-btn {
    position: absolute; bottom: 10px; right: 10px;
    background: #e9ecef; color: #495057; border: none;
    width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: all 0.2s ease;
}
.d2u-copy-btn:hover { background-color: #dee2e6; }

@media (max-width: 768px) {
    .d2u-converter-grid { grid-template-columns: 1fr; }
    .d2u-action-area { margin: 10px 0; }
    .d2u-btn { width: 100%; }
}