@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", serif;
    background-color: #ffffff;
    color: #1e1e1e;
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: underline;
    color: #005B85;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
}

p {
    margin-bottom: 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.2em;
}

.undertitle {
    font-style: italic;
    margin-top: -1em;
    margin-bottom: 1em;
    display: block;
}

ul, ol {
    margin-bottom: 15px;
}

input, textarea, select {
    border: 1px solid #ccc;
    padding: 4px;
    font-size: 16px;
    width: 100%;
    font-family: "Open Sans", serif;

}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
    display: grid;
    gap: 20px; 
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr); 
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr); 
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr); 
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr); 
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr); 
}

.column {
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

.divider {
    width: 100%;
    padding: 20px 20px;
}

.divider img {
    margin: 0 auto;
    height: 25px;
}

.divider_toBlue {
    height: 51px;
    width: 100%;
    background-image: url('img/divider_toBlue.png');
    background-position: center;
}

.divider_fromBlue {
    height: 51px;
    width: 100%;
    background-image: url('img/divider_fromBlue.png');
    background-position: center;
}

.bgBlue {
    background-image: url('img/bgBlue.png');
    background-position: center;
    color: white;
}

.vertical-middle {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: 100%;
}

.text-center {
    text-align: center;
}

.text-underline {
    text-decoration: underline;
}

p, ul, ol, input, textarea, select, button {
    line-height: 1.5;
}
.motd {
    background-color: #005B85;
    padding: 10px 0;
}

.motd .container {
    display: flex;
    color: white;
    font-weight: bold;;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.motd .container a {
    color: inherit;
    font-weight: inherit;
    text-align: center;
    width: 100%;
}

.top-bar {
    background-color: #f0f0f0;
    border-bottom: 1px solid #d0d0d0;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-bar .social-links {
    display: flex;
    gap: 15px;
}

.top-bar .social-links a {
    color: #1e1e1e;
    font-size: 18px;
}

.top-bar .social-links a:hover {
    color: #005B85;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar a {
    text-decoration: none;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: bold;
}

.top-bar a:hover {
    color: #005B85;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    max-width: 200px;
}

header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    height: 100%;
    align-items: center;
    margin-bottom: 0;
}

header nav a {
    text-decoration: none;
    color: #2d2d2d;
    font-size: 16px;
    display: flex;
    align-items: center; 
    height: 100%;
}

header nav a:hover {
    color: #005B85;
}

.hero-image img {
    display: inline-block;
    max-width: 500px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.banners {
    margin-top: 60px;
}

.brands h3 {
    color: #005B85;
}

.brands-logo-cont {
    height: 125px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.brands-logo {
    max-width: 250px;
    height: auto;
}

.brands-pic-cont {
    height: 180px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.brands-pic {
    max-width: 350px;
    height: auto;
    margin: 0 auto;
}

.dealers-logo {
    display: inline-block;
    max-width: 300px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.about-us h3 {
    color: #005B85;
}

.team-photo {
    display: inline-block;
    max-height: 150px;
    border-radius: 150px;
    background-color: white;
    margin-bottom: 20px;
    margin-top: 20px;
}

.team-photo-big {
    max-height: 350px;
    border-radius: 350px;
    background-color: white;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.contact input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact input:focus, .contact textarea:focus{
    border-color: #3EBFFF;
}

.contact form {
    max-width: 700px;
    margin: 0 auto;
}

.contact button {
    width: 100%;
    padding: 10px;
    background-color: #005B85;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.dealer-login button:hover {
    background-color: #0176ad; 
}

.dealer-login input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

.dealer-login input:focus {
    border-color: #3EBFFF;
}

.dealer-login form {
    width: 700px;
    margin: 0 auto;
}

.dealer-login button {
    width: 100%;
    padding: 10px;
    background-color: #005B85;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.news .button {
    display: inline-block;
    background-color: #005B85;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    margin: 0 auto;
}

.news .button:hover {
    background-color: #0176ad;
}


footer {
    background-color: #333333;
    color: white;
    padding: 40px 0;
}

footer .container {
    font-size: 14px;
}

footer .footer-logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

footer .column h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

footer .column ul {
    list-style: none;
}

footer .column a {
    text-decoration: none;
    color: white;
}

footer .column a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: white;
}

footer .column .social-links {}

footer .column .social-links a {
    text-decoration: none;
    color: #bbb;
    font-size: 20px;
    margin-right: 10px;
}

footer .column .social-links a:hover {
    color: white;
}

.footer-bottom {
    background-color: #222222;
    text-align: center;
    font-size: 14px;
    color: #bbbbbb;
}

button:disabled {
    background-color: #ccc;
}

input.error, textarea.error {
    border-color: red;
}

input:focus.error, textarea:focus.error {
    border-color: red;
}

/* ------------------------------------
   RMA LIST
------------------------------------ */
.rma_list form.filter-form {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
}

.rma_list form.filter-form .row {
    margin-bottom: 10px;
}

.rma_list form.filter-form label {
    display: inline-block;
    width: 250px;
}

.rma_list form.filter-form button {
    width: 100%;
    padding: 10px;
    background-color: #005B85;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.rma_list table {
    width: 100%;
}

.rma_list th,
.rma_list td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    font-size: 14px;
}

.rma_list th {
    background-color: #f0f0f0;
    text-align: left;
}

.rma_list tr:nth-child(even) {
    background-color: #fafafa;
}

.rma_list .status-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
}

.rma_list .status-open {
    background-color: #ffeeba;
    border: 1px solid #f0ad4e;
}

.rma_list .status-final {
    background-color: #d4edda;
    border: 1px solid #28a745;
}

.rma_list .no-data {
    margin-top: 10px;
    font-style: italic;
    color: #777;
}

.rma_list .small {
    font-size: 12px; color: #555;
}

.rmaView {
    margin-bottom: 15px;
}

.rmaView span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        max-width: 100%;
    }

    header .container {
        flex-direction: column;
        align-items: center;
    }

    header .logo img { 
        margin-bottom: 20px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .brands .container {
        flex-direction: column;
        gap: 20px;
    }

    .brand-logo img {
        max-width: 100%;
    }

    .footer-bottom .social-links {
        justify-content: center;
        gap: 15px;
    }

    footer .footer-logo img {
        margin-right: 0;
    }
}
