
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
 
    
}

.container {
    display: flex;
    height: 100vh;
}

#editor {
    flex: 1;
    height: 100vh; 
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    padding: 15px;
    padding-left: 30px;
    font-size: 12px;
        
}

#output {
    flex: 1;
    width: 100%;
    display: block;

    height: 100%;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    padding: 10px;
    overflow: auto;
}

iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
   
    border: none;
}



h1 {
    text-align: center;
}


#lineNumbers {
   
    position: absolute;
    top: 13.5%;
    left: 0;
    bottom: 0;
    width: 10px;
    padding: 10px;
    border-right: 1px solid #ccc;
    font-size: 12px;
   display: none;
    height: 285vh;
   
    color: #111010;
}

.tag-info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1000;
    display: none;
    max-width: 300px; 
    font-family: Arial, sans-serif; 
    color: #333; 
}


.tag-info-popup:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.tag-info-popup {
    transition: all 0.3s ease;
}

.suggestions {
    position: fixed;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1000;
    display: none;
    max-width: 300px; 
    font-family: Arial, sans-serif; 
    color: #333; 
}

.suggestions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    padding: 5px;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #e9e9e9;
}


.dialog-content h2 {
    margin-top: 0;
    font-size: 20px;
    color: #fffffff8;
}

.dialog-content input[type="text"] {
    width: calc(100% - 10px);
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.dialog-content button.button-d {
    background: linear-gradient(to left, rgb(252, 9, 159), blue);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}




.dialog-content button.button-d:hover {
    background-color: #2f04f0;
}



.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}
button {
    display:inline-block;
}

.dialog-content {
    text-align: center;
}

.dialog button {
    margin-top: 10px;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 700px; 
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

.popup h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
}

.popup p {
    color: #666;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #666;
    font-size: 24px;
}

.popup .close:hover {
    color: #333;
}
li {
    color:rgb(202, 13, 139);
    margin:10px;
    font-size: 14px;
}

.popup .btn {
    background: linear-gradient(to left, rgb(252, 9, 159), blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.popup .btn:hover {
    background-color: #45a049;
}


a {
    margin: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid rgb(252, 9, 159);
    transition: all 0.3s ease;
    
}

a:hover {
    background: linear-gradient(to left, rgb(252, 9, 159), blue);
    color: white;
    border-color: transparent;
    
}



@media (max-width: 768px) {
    #editor {
        padding-left: 15px;
    }
    #lineNumbers{
        display: none;
    }
    header {
        display: none;
    }
}
@media (max-width: 480px) {
    #editor {
        padding-left: 15px;
    }
    #lineNumbers{
        display: none;
    }
}