* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #212529;
}

.marktable-container {
    width: 100%;
    min-height: 100vh;
    background-color: #f0f2f5;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marktable-header {
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ced4da;
    margin-bottom: 20px;
    border-radius: 8px;
}

.marktable-header h1 {
    color: #212529;
    font-size: 24px;
    font-weight: 700;
}

.marktable-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 900px;
    justify-content: center;
    flex-wrap: wrap;
}

.marktable-tab-btn {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.marktable-tab-btn.active {
    background-color: #39FF14;
    color: #000000;
    border-color: #39FF14;
    font-weight: bold;
}

.marktable-main {
    width: 100%;
    max-width: 900px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.marktable-tab-content {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.marktable-tab-content.active {
    display: flex;
}

.control-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.control-group label {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group input {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 70px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
    font-family: monospace;
    font-size: 14px;
}

.btn-neon-green {
    background-color: #39FF14;
    color: #000000;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.btn-neon-green:hover {
    opacity: 0.9;
}

.grid-table-editor {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.grid-table-editor td, .grid-table-editor th {
    border: 1px solid #ced4da;
    padding: 8px;
}

.grid-table-editor input {
    width: 100%;
    border: none;
    outline: none;
    padding: 4px;
}

.output-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
}
