* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
    color: #000; /* Changed to black */
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.controls button {
    padding: 10px 18px;
    background-color: #000; /* Changed to black */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.controls button:hover { background-color: #333; } /* Darker hover */

.editor-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.input-box, .output-box {
    flex: 1;
    min-width: 300px;
    background-color: #fefefe;
    border: 2px solid #000; /* Changed to black */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 450px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-box:hover, .output-box:hover {
    border-color: #000; /* Changed to black */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Changed glow to black */
}

.editor-header {
    background-color: #000; /* Changed to black */
    color: white;
    padding: 12px 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.input-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.input-content input {
    padding: 10px;
    border: 2px solid #000; /* Changed to black */
    border-radius: 8px;
    font-size: 14px;
    color: #000; /* Changed to black */
}

.result {
    text-align: center;
    font-size: 20px;
    margin-top: 40px;
    font-weight: bold;
}

.result i {
    font-size: 50px;
    display: inline-block;
    margin-left: 10px;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.result.show i {
    transform: scale(1);
    opacity: 1;
}