/** General styling for all pages.
  *
  *     @author Scott Johnstone <scott@networksense.org>,
  *     @editor Michael Allan <mike@zelea.com>
  */

/* --- MODERNIZED BASE STYLES --- */

html {
    /* Set base font size to allow 1rem = 10px (for easier calculation) */
    font-size: 62.5%; 
}

body {
    margin: 0;
    /* We're adding a light gray background here to create contrast */
    background-color: #f3f4f6; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
}

/* Add this to ensure the sidebar area itself stays clear of the background */
div.sidebar {
    float: right;
    width: 320px;
    margin-right: 20px;
    /* This ensures any space between cards shows the gray background */
}

/* Ensure all form elements inherit the modern font stack */
input, textarea, select {
    font-family: inherit;
    font-size: 1.6rem;
    line-height: 1.5;
}

a {
    color: #2563eb; /* A vibrant, modern blue */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

div.float_clear {
    clear: both; /* Keep for backwards compatibility */
}

div.wrapper_inside
{
    overflow: hidden;
}



/** - disabled -------------------------
  */
a.disabled
{
    cursor: default;
    opacity: 0.4;
}



/** - mainPanel ------------------------
 *
 * Modernized panel styling using subtle shadows instead of harsh dotted borders.
 */
div.mainPanel {
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* Modern light-gray border */
    border-radius: 12px;       /* Increased rounding for a friendlier look */
    margin: 2rem auto;         /* Centered with rem spacing */
    padding: 2.5rem;
    max-width: 1000px;         /* Prevents lines of text from getting too wide */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle lift effect when hovering over a panel */
div.mainPanel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}