body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f5f7;
    color: #333;
    margin: 0;
    padding: 20px;
    line-height: 1.7;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e9ebef" fill-opacity="0.4"%3E%3Cpath d="M36 34.01V37.5h-1.5V34.01a3 3 0 0 0-3-3H27.5v-1.5h3.99a3 3 0 0 0 3.01-3V22.5h1.5v3.99a3 3 0 0 0 3 3H40.5v1.5H36.01a3 3 0 0 0-3.01 3zM42 22.5V26h4.5V22.5H42z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.app-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
}

.app-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.app-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #111;
}

.app-header p {
    font-size: 1.2rem;
    color: #666;
}

.converter-tool {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.2);
    outline: none;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.radio-group label {
    margin-right: 15px;
    font-size: 1.1rem;
    cursor: pointer;
}

.radio-group input {
    margin-right: 5px;
}

#convertBtn, #copyBtn {
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background-color: #0056b3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#convertBtn:hover, #copyBtn:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

#copyBtn {
    background-color: #28a745;
    margin-top: 10px;
    display: block;
    width: 100%;
}

#copyBtn:hover {
    background-color: #218838;
}

.output-section {
    position: relative;
}

.content-guide h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-top: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.content-guide p, .content-guide ol {
    font-size: 1.1rem;
    color: #555;
}

.content-guide ol {
    line-height: 1.8;
    padding-left: 20px;
}

@media (max-width: 600px) {
    .app-header h1 {
        font-size: 2rem;
    }
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    .app-container {
        padding: 20px;
    }
}