body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

header{
   text-align: center;
   padding: 15px;
   background-color: #A1C2BD;
   color: #000;
   border-bottom:1px solid #000000;
}

header a{
    display: block;
    margin-top: 5px;
    color: #000;
    text-decoration: none;
}

h1 {
    margin-top: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#000;
}

.container {
    display: flex;
    width: 100%;
    height: 90vh;
}

.left-panel {
    width: 35%;
    padding: 20px;
    box-sizing: border-box;
    background: #fafafa;
    overflow-y: auto;
}

.left-panel label {
    display: block;
    margin-top: 10px;
}

.left-panel input, .left-panel select {
    width: 90%;
    padding: 5px;
    margin-top: 5px;
}

.left-panel button {
    margin-top: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

#output {
    margin-top: 10px;
    padding: 10px;
    height: 120px;
    background: #fff;
    border: 1px solid #ccc;
    overflow-y: auto;
    font-family: monospace;
}

.right-panel {
    margin-top: 5px;
    width: 65%;
    height: 95%;
    box-sizing: border-box;
    border-left: 1px solid #ccc;
    border-radius: 20px;
    overflow: auto;
    background: #fff;
    position: relative;
    box-shadow: 2px 2px 10px #4CAF50;
}

.right-panel h2{
    text-align: center;
}

#graph-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
}

.node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 40px;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.edge {
    position: absolute;
    background-color: #555;
    transform-origin: 0 0;
    height: 2px;
}

.edge-text {
    position: absolute;
    background: #fff;
    padding: 2px 4px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.active-node {
    background-color: #f44336 !important;
}

.active-edge {
    background-color: #f44336 !important;
}

.arrow::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-left-color: black;
    top: -4px;
    right: -12px;
    transform: rotate(0deg);
}

.document{
    width: 100%;
    margin-top: 10px;
    height: 20%;
}

.pseudo-code{
    height: fit-content;
    padding: 10px;
    box-shadow: 2px 2px 20px #4CAF50;
    border-radius: 20px;
}


.btn{
    border: none;
    border-radius: 20px;
    height: 50px;
    background-color: #97c1e4;
    font-weight: 700;
    display: inline;
}

.btn:hover{
    border: 2px solid #2196F3;
    background: transparent;
    color: #2196F3;
    font-weight: 700;
}

.input-feild{
    border-radius: 12px;
}

