/* MAX MOTORCYCLES - CUSTOMER PORTAL */

:root {
    --max-red: #E31837;
    --max-dark: #101014;
    --max-white: #FFFFFF;
    --max-grey: #F3F4F6;
}

/* Main page */
body {
    background: var(--max-grey);
    font-family: Arial, Helvetica, sans-serif;
}

/* Main portal container */
#container {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

/* Header */
#header {
    background: #FFFFFF;
}

/* Navigation */
#nav {
    background: var(--max-dark);
}

#nav li a {
    color: #FFFFFF;
}

#nav li a:hover,
#nav li.active a {
    background: var(--max-red);
    color: #FFFFFF;
}

/* Headings */
h1, h2, h3 {
    color: var(--max-dark);
}

/* Links */
a {
    transition: color 0.2s ease;
}

a:hover {
    color: var(--max-red);
}

/* Buttons */
input[type="submit"],
button[type="submit"] {
    background: var(--max-red);
    color: #FFFFFF;
    border: 1px solid var(--max-red);
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #B9122B;
    border-color: #B9122B;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 1px solid #D5D7DC;
    border-radius: 5px;
}

/* Focus styling */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--max-red);
    outline-color: var(--max-red);
}

/* Footer */
#footer {
    color: #666666;
}

/* MAX MOTORCYCLES - CUSTOMER PORTAL REFINEMENTS */

/* Main navigation links */
#nav li a {
    color: #FFFFFF;
    transition: background 0.2s ease;
}

#nav li a:hover {
    background: #E31837;
    color: #FFFFFF;
}

/* Customer portal action buttons */
#landing_page .button,
#landing_page a.button,
#content a.green,
#content a.blue {
    background: #E31837 !important;
    background-image: none !important;
    border-color: #E31837 !important;
    color: #FFFFFF !important;
    border-radius: 6px;
    transition: background 0.2s ease;
}

#landing_page .button:hover,
#landing_page a.button:hover,
#content a.green:hover,
#content a.blue:hover {
    background: #B9122B !important;
    border-color: #B9122B !important;
}

/* Welcome heading */
#content h1 {
    color: #101014;
    font-weight: 700;
}

/* Customer portal links */
#content a:hover {
    color: #E31837;
}


/* MAX MOTORCYCLES - NEW TICKET FORM */

/* Form headings */
#content h2,
#content h3 {
    color: #101014;
    font-weight: 700;
}

/* Ticket form fields */
#content input[type="text"],
#content input[type="email"],
#content input[type="tel"],
#content select,
#content textarea {
    border: 1px solid #D5D7DC;
    border-radius: 6px;
    padding: 7px 10px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    max-width: 100%;
}

/* Field focus */
#content input:focus,
#content select:focus,
#content textarea:focus {
    border-color: #E31837;
    outline: 2px solid rgba(227,24,55,0.12);
}

/* Ticket form submit button */
#content input[type="submit"],
#content button[type="submit"] {
    background: #E31837;
    color: #FFFFFF;
    border: 1px solid #E31837;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Submit hover */
#content input[type="submit"]:hover,
#content button[type="submit"]:hover {
    background: #B9122B;
    border-color: #B9122B;
}

/* Secondary buttons */
#content input[type="reset"],
#content button[type="reset"] {
    background: #F3F4F6;
    border: 1px solid #D5D7DC;
    border-radius: 6px;
    padding: 9px 15px;
    cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #content input[type="text"],
    #content input[type="email"],
    #content select,
    #content textarea {
        max-width: 100%;
    }
}
