body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background-color:  #0d1117;
    color: #c9d1d9;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100vh;
    background-image: radial-gradient(
        circle at top,
        #161b22 0%,
        #0d1117 60%
    );

}

.title-header{ 
    width: 100%;
    height: 60px;
    background-color:  #161b22;
    color: #f0f6fc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #30363d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    
}

.code-header{
    display: block;
    text-align: center;
    font-family: system-ui, Arial, sans-serif;
    color: rgb(242, 240, 240);
    margin-top: 20px;
    margin-bottom: 10px;

}
.language-label{
    display: block;
    text-align: center;
    font-family: system-ui, Arial, sans-serif;
    color: rgb(242, 240, 240);
    margin-top: 10px;
    margin-bottom: 5px;
}
.language-select{
    display: block;
    margin: 0 auto;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #30363d;
    background-color: #161b22;
    color: #c9d1d9;
    font-family: system-ui, Arial, sans-serif;
    outline: none;
    transition: 0.2s ease;
}
.beta{
    color: aquamarine;
}
.language-select:hover {
    border-color: #238636;
    box-shadow: 0 0 10px rgba(35, 134, 54, 0.3);
}
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.controls .language-select {
    margin: 0;
}
.passcode-input {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #30363d;
    background-color: #161b22;
    color: #c9d1d9;
    font-family: system-ui, Arial, sans-serif;
    outline: none;
    transition: 0.2s ease;
    width: 150px;
}
.passcode-input:focus {
    border-color: #238636;
    box-shadow: 0 0 10px rgba(84, 174, 84, 0.3);
}
.code-input{

    margin: 0 auto;
    width: 60%;
    border-radius:2px;   
    padding: 10px;  
    box-sizing: border-box;
    height: 50vh;
    resize: none;
    background-color: #161b22;
    color: #c9d1d9;
    border: 1px solid #30363d;
    min-height: 200px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: 0.2s ease;
    
}
.code-input:focus {
    border-color: #238636;
    box-shadow: 0 0 10px rgba(84, 174, 84, 0.3);
}
.submit-button:hover {
    background-color: rgb(70, 150, 70);
    transform: translateY(-2px);
}

.submit-code{
    display: flex;
    justify-content: center;
    margin-top: 12px;

}

.submit-button{
    background-color: #238636;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: system-ui, Arial, sans-serif;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    
}

.hidden{
    display: none;
}
#resultsHeader{
    text-align: center;
    font-family: system-ui, Arial, sans-serif;
    color: #f0f6fc;
}
#output {
    width: 60%;
    margin: 20px auto;
    padding: 16px;
    background-color: #161b22;
    color: #c9d1d9;
    border: 1px solid #30363d;
    border-radius: 8px;
    font-family: monospace;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-x: auto;
}
.mitre-link {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.mitre-link a {
    color:#dbdfdc;
    text-decoration: none;
    font-size: 0.9rem;
}

.mitre-link a:hover {
    text-decoration: underline;
}