/* style.css */

/* Dark theme setup */
body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #0d0d0d;
    color: #00ff41; /* Classic terminal green */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 700px;
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-top: 0;
}

/* Input area styling */
textarea {
    width: 100%;
    height: 120px;
    background: #000;
    color: #fff;
    border: 1px solid #00ff41;
    border-radius: 4px;
    padding: 15px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    resize: vertical;
    outline: none;
}

textarea:focus {
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Button styling */
button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background-color: #00ff41;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background-color: #00cc33;
}

button:active {
    transform: translateY(2px);
}

/* Output styling - Vertical Layout focus */
.result-box {
    margin-top: 30px;
    padding: 20px;
    background: #000;
    border: 1px dashed #444;
    border-radius: 4px;
}

h3 {
    margin-top: 0;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

#outputText {
    font-size: 20px;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: pre-wrap; /* Maintains vertical spacing and line breaks */
    margin: 0;
}

/* Responsive adjustment for mobile staff */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
    }
}

#copyBtn {
    background-color: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    transition: all 0.2s ease;
}

#copyBtn:hover {
    background-color: rgba(0, 255, 65, 0.1);
}