/* General Container Styles */
#form-container {
    max-width: 850px; /* Slightly increased for better space utilization */
    margin: 20px auto;
    padding: 25px;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Token Input Container (Security Styling) */
#token-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #d9534f; /* Red border for emphasis on security */
    border-radius: 8px;
    background-color: #fff3f3; /* Light red background for secure access */
    text-align: center;
}

/* Title and Section Headers */
h1 {
    text-align: center;
    color: #007bff;
    font-size: 28px;
}

h2 {
    color: #007bff;
    margin-top: 20px;
    font-size: 22px;
}

/* Labels */
label {
    font-size: 20px; /* Increased by 2 points for better readability */
    color: #333;
    margin-bottom: 5px;
    display: block; /* Ensures labels and instructions are left-aligned */
    font-weight: bold; /* Makes labels more prominent */
}

/* Instructions (not bold) */
p {
    font-size: 20px; /* Increased by 2 points for better readability */
    color: #333;
    margin-bottom: 5px;
    display: block;
    font-weight: normal; /* Ensures instructions are not bold */
}

/* Input Fields and Text Areas */
.input-field,
textarea {
    width: calc(100% - 20px); /* Added padding space for better text wrap */
    min-height: 40px;
    margin: 10px 0; /* Consistent spacing above and below */
    padding: 10px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* Compact Fields */
.compact-field {
    min-height: 60px;
}

/* Textarea Specific Styling */
textarea {
    height: 100px; /* Adjusted height for longer content */
}

/* Focus Outline */
.input-field:focus,
textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0px 0px 4px rgba(0, 91, 179, 0.2); /* Subtle shadow on focus */
}

/* Button Styling */
.button-container button,
.download-btn button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

.button-container button:hover,
.download-btn button:hover {
    background-color: #0056b3;
}

/* Center Button Container */
.button-container,
.download-btn {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #form-container {
        padding: 15px;
    }

    .input-field,
    textarea {
        font-size: 14px;
        padding: 8px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}
