/* General Styles */
body {
    font-family: 'Roboto', sans-serif; /* Modern, clean font for readability */
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff, #d0f0f7); /* Soft gradient with medical tones */
    color: #333333; /* Dark gray for text, easier on the eyes than black */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6; /* Improve text spacing for better readability */
}


/* Header container styling */
.header {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: flex-start; /* Vertically centers content within the header */
    position: center;
    width: 100%;
    padding: 10px;
    /* background-color: #f8f8f8; Subtle background */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); Optional shadow for better visibility */
}

/* User info text styling */
.user-info {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-right: 15px; /* Add space between user's name and the logout button */
}

/* Logout button styling */
.logout-button {
    padding: 5px 10px;
    background-color: white; /* Initial button color */
    color: #ff4d4d; /* Red text for the button */
    border: 1px solid #ff4d4d; /* Border matches text color */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Hover state for logout button */
.logout-button:hover {
    background-color: #ff4d4d; /* Reddish background on hover */
    color: white; /* White text on hover */
}


.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    /* background-color: #ffffff; */
    padding: 20px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
}

/* Title */
.title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #004085;
    margin-bottom: 20px;
}

/* Form Section */
.form-section {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.input-group {
    margin: 100px;
}

.input-group h2 {
    font-size: 1.8rem;
    color: #ff0505;
    margin-bottom: 15px;
}

.input-group p {
    font-size: 1.1rem;
    color: #191919;
}


.left-section, .right-section {
    flex: 1; /* Allow sections to take up full height */
    max-width: 600px; /* Restrict maximum width */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex; /* Display as flex to allow horizontal alignment */
    flex-direction: column; /* Arrange items vertically by default */
    margin-top: 25px;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 15px;
    text-align: center;
}

.instruction {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 10px;
}



.submit {
    text-align: center; /* Center the button inside the container */
    margin-top: 10px; /* Add spacing from other elements */
}

.button {
    font-size: 1.2rem; /* Slightly larger font for readability */
    color: #ffffff; /* White text for contrast */
    background-color: #0077b6; /* Soothing medical blue */
    border: none; /* Remove default browser border */
    border-radius: 8px; /* Rounded corners for a modern look */
    padding: 12px 36px; /* Comfortable padding for clickability */
    cursor: pointer; /* Change cursor to pointer on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
}

.button:hover {
    background-color: #005f86; /* Darker blue on hover */
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.button:active {
    background-color: #004a63; /* Even darker blue for active state */
    transform: translateY(0); /* Reset lift effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Reset shadow */
}