body {
    /* Example gradient background */
    background: #263238;
    color: #2193b0; /* Adjust text color for better visibility */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

#login-section, #register-section {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* width: 300px; Adjust width as needed */
}

#login-section h1, #register-section h1 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 2em; /* Adjust font size as needed */
}

#login-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#login-title-box {
    background-color: #007bff; /* Adjust color as needed */
    color: white; /* Adjust text color for visibility */
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#flash-message {
    color: #721c24; /* Example color for error messages */
    background-color: #f8d7da; /* Light red background */
    border-color: #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

/* You can add more styles for different types of messages (e.g., success) */
.flash-success {
    color: #155724; /* Example color for success messages */
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#columns {
    display: flex;
    height: 100vh;
    justify-content: space-between;
    margin-bottom: 20px;
}

.column {
    flex-grow: 1;
    /* overflow: auto; */
    border: 1px solid #ccc;
    margin: 4px; /* Adds a little space between the columns */
    padding: 10px; /* Adds some spacing inside the columns */
    background-color: #f4f4f4; /* Light grey background */
    border-radius: 5px; /* Rounded corners */
}

.container {
    display: flex;
    height: 100%;
}

textarea {
    width: calc(100% - 40px);
    height: calc(100% - 80px); /* Adjust as needed */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
}

button {
    width: auto; /* Adjust width */
    padding: 10px 20px; /* Padding for button text */
    margin: 10px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block; /* Align buttons inline */
}

button:hover {
    background-color: #0056b3;
}

#copy-button {
    transition: transform 0.3s ease;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#copy-button:active {
    transform: scale(1.3);
}

.danger-btn {
    background-color: #dc3545;
    color: white;
}

.danger-btn:hover {
    background-color: #c82333;
}

/* #render-output {
    border: 1px solid #ddd;
    padding: 10px;
    height: 200px;
    overflow-y: auto;
} */

label, input {
    padding: 10px;
    border-radius: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
}

#template-title {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(40% - 22px); /* Adjust width to account for padding and border */
    margin: 10px;
    box-sizing: border-box; /* Include padding and border in width calculation */
}

#saved-templates {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(50% - 22px); /* Adjust width to account for padding and border */
    margin: 10px;
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.form-container {
    max-width: 600px; /* Adjust as per design requirement */
    margin: auto;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
    padding-bottom: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

#profile-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#user-details {
    margin-bottom: 20px;
}

/* input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
} */

.no-select {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}
