/* Dark theme layout styling */
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #1c1c1c; /* Dark gray background */
    color: white; /* White text */
    font-family: Arial, sans-serif;
}

.custom-textarea {
    height: 10em;
    width: 30%;
}

.decrypted-message-box {
    width: 30%; /* Set width to 20% of the screen */
    height: 10em;
    resize: none; /* Disable resizing */
    overflow: auto; /* Enable scrolling */
}

.info-box {
    width: 30%;
    padding: 10px;
    border: 1px solid #ccc; /* Optional */
    background-color: #555; /* Dark gray background */
    color: white; /* White text color */
    margin-bottom: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Popup box styling */
.popup {
    display: none; /* Hidden by default */
    width: 360px; /* Increased width (20% larger) */
    height: 240px; /* Increased height (20% larger) */
    border: 1px solid #ccc;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333; /* Gray background */
    color: white; /* White text */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Show popup when target is triggered */
.popup:target {
    display: block; /* Show the popup */
}

/* Close button for popup */
.popup-close {
    text-align: right;
    margin-top: -20px;
    margin-right: -20px;
}

.popup-close a {
    text-decoration: none;
    background-color: red;
    color: white;
    padding: 2px 5px;
    font-weight: bold;
    border-radius: 3px;
}

.popup iframe {
    width: 100%;
    height: calc(100% - 30px); /* Adjust height considering the close button */
    border: none;
}

