@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Mono", monospace;
    background: #1a1a1a;
    color: #e0e0e0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

h1 {
    font-size: 24px;
    font-weight: 500;
    color: #4CAF50;
    text-align: center;
}

#dropzone {
    flex: 1;
    border: 2px dashed #4CAF50;
    border-radius: 8px;
    background: #242424;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#dropzone:hover {
    border-color: #66BB6A;
    background: #2a2a2a;
}

#dropzone.dragover {
    border-color: #66BB6A;
    background: #2d3a2d;
    transform: scale(0.98);
}

#dropzone-content {
    text-align: center;
    pointer-events: none;
}

#dropzone-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}

#dropzone-text {
    font-size: 18px;
    margin-bottom: 10px;
}

#dropzone-subtext {
    font-size: 14px;
    opacity: 0.6;
}

#fileInput {
    display: none;
}

#output-section {
    display: none;
    flex-direction: column;
    gap: 15px;
    height: 400px;
}

#output-section.active {
    display: flex;
}

#file-info {
    background: #242424;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 1px;
}

.info-value {
    font-size: 14px;
    color: #4CAF50;
    word-break: break-all;
}

#output-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#output {
    flex: 1;
    background: #242424;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    color: #e0e0e0;
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
    resize: none;
    line-height: 1.5;
}

#output:focus {
    outline: none;
    border-color: #4CAF50;
}

.button-row {
    display: flex;
    gap: 10px;
}

button {
    background: #4CAF50;
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: "Roboto Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background: #66BB6A;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

#resetBtn {
    background: #333;
    color: #e0e0e0;
}

#resetBtn:hover {
    background: #444;
}

#copyBtn.copied {
    background: #2196F3;
}
