/* General body styling */
body {
    background-color: rgb(0, 0, 0); /* Dark background */
    color: rgb(255, 255, 255); /* Dark background */
    font-family: Tahoma, sans-serif;
    margin: 0;
    padding: 0;
}

/* Logo styling */
.logo {
    text-align: left;
    margin-top: 20px;
}

.logo img {
    width: 400px;
    height: auto;
}

#session-info {
    position: absolute;
    top: 5px; /* Move closer to the top */
    right: 10px;
    background-color: rgb(0, 0, 0);
    color: #555;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 0.5; /* Reduce space between lines */
    text-align: right;
}

/* Form group for label and input fields */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Reduced space between fields, adjustable */
}

/* Label styling */
label {
    width: 160px; /* Fixed width for labels */
    margin-right: 10px;
    color: rgb(251, 227, 214);
}

/* Input field and select styling */
input[type="text"],
input[type="email"],
.form-group select {
    width: 300px; /* Fixed width to ensure alignment */
    padding: 10px;
    background-color: rgb(86, 88, 86); /* Lesser dark background for input fields */
    border: none; /* Removed border */
    border-radius: 5px;
    color: rgb(251, 227, 214);
    box-sizing: border-box; /* Include padding in the width */
}

input[type="text"]:focus,
input[type="email"]:focus,
.form-group select:focus {
    outline: none;
    border: 1px solid rgb(16, 173, 228); /* Focus outline color */
}

/* Title styling */
.setup-title {
    font-size: 24px; /* Adjust font size as needed */
    color: rgb(251, 227, 214); /* Title color */
    text-align: left; /* Center the title */
    margin: 20px 0; /* Add space above and below */
    margin-left: 50px; /* Move title 50px to the right */
}

/* Main container styling */
.container {
    display: flex;
    justify-content: left;
    gap: 50px; /* Space between the two containers */
    margin-top: 20px;
    position: relative;
    left: 50px; /* Move slightly to the left */
    top: 0px; /* Move slightly down */
   
}

/* Form section styling (for both containers) */
.form-section {
    background-color: rgb(13, 16, 23); /* Updated background color for container */
    width: 500px; /* Fixed width for each container */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative; /* For button positioning inside form-section */
}

/* Lower the second container and limit its height */
.lower-container {
    margin-top: 0px; /* Start lower than the first container */
    height: 150px; /* Limit height to fit only two form fields */
    overflow: hidden; /* Hide any overflowing content */
}


/* Button styling */
button[type="submit"] {
    background-color: #007bff;
    color: rgb(251, 227, 214);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150px; /* Adjust the button width */
    margin-top: 20px; /* Add space above the button */
    display: block; /* Ensure the button stays in flow */
}

/* Hover effect on button */
button[type="submit"]:hover {
    background-color: rgb(16, 173, 228); /* Hover color */
}

/* Message box styling */
.message {
    color: rgb(251, 227, 214);
    margin-top: 20px;
    position: relative;
    left: 50px; /* Move message 50px to the right */
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .container {
        flex-direction: column; /* Stack containers vertically on small screens */
        left: 0; /* Reset to default alignment */
        top: 0;
    }

    form {
        width: 100%; /* Adjust form width for smaller screens */
    }
}

/* Basic styling for the message container */
.message-container {
    position: absolute;
    top: 50px;
    left: 650px;
    width: 1000px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 20px auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

/* Styling for the header section of the message */
.message-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Styling for the name section of the message header */
.message-name {
    font-size: 1.2em;
    color: #333;
}

/* Styling for the ID section of the message header */
.message-id {
    font-size: 1em;
    color: #888;
}

/* Styling for the body section of the message */
.message-body {
    font-size: 1em;
    color: #444;
    line-height: 1.6;
    word-wrap: break-word; /* Ensure long words break correctly */
}
