
/* General Body and Typography */
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Sans sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #53555c;
}

.logo {
    max-width: 300px;
}

h1, h2, h3, h4, h5 {
    font-size: 32px;
    margin: auto;
    padding: initial;
}

a {
    color: #006699;
    text-shadow: 0 0 1px #0d0d0d7a;
    text-decoration: underline;
}

/* Active State */
.active {
    border-bottom: 4px solid #006699 !important;
}

/* Info Section */
#infoot {
    max-width: 98%;
    margin: auto;
}

#infoot pre {
    font-family: Raleway, sans-serif;
}

/* Footer */
#footer {
    padding-top: 50px;
    color: #fff;
    z-index: 99;
    font-size: 14px;
    background: #2c2d2f;
}

#footer a {
    color: white;
}

/* Top Bar */
#topBar {
    width: 100%;
    background-color: #ffffff;
    z-index: 10001;
}

#banner {
    padding: 15px;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
}

div#topSocials {
    color: white;
    text-decoration: none;
    text-align: right;
}

div#topSocials a {color:yellow;
    text-decoration:none;}

/* Three Footer Section */
#threeFooter {
    text-align: center;
    margin: auto;
}

#threeFooter div {
    width: 31%;
    overflow: hidden;
    padding-bottom: 17px;
    margin-bottom: 15px;
    display: inline-block;
    vertical-align: top;
    z-index: 100;
    position: relative;
}

#threeFooter h3 {
    color: #ffffff;
    text-transform: capitalize;
}

#threeFooter div:first-child {
    margin-left: 0 !important;
    text-align: left;
    float: left;
}

#threeFooter div:last-child {
    margin-right: 0 !important;
    float: right;
    text-align: right;
}

#threeFooter ul {
    list-style: none;
    padding: 0;
}

#threeFooter li a {
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #585d69;
    padding: 7px;
    font-size: 12px;
    padding-right: 20px;
    text-transform: lowercase;
}

/* Misc Layout */
.textBoxes {
    position: relative;
    margin: auto;
    background: #fff;
}

.readingBit {
    padding-top: 1px;
    display: flow-root;
    margin: auto;
    margin-top: -1px;
}

/* Flexbox Utility */

.setStyle > div {
    max-width: 1200px;
    text-align: center;
    /* align-items: center; */
    justify-content: center;
    margin: auto;
    flex: 1;
    display: flex;
}

.setStyle > div > div {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 1%;
    box-sizing: border-box;
    flex: 1;
}
div#bread {
    background: #efefef;
    padding: 10px;
}
/*BLog Section */

main.news {
    width: 100%;
    margin: auto;
}

.news section {
    border: 1px solid #d7d7d7;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    text-align: left;
    content-visibility: auto;
    margin-bottom: 20px;
}

img.blogIcon {
    float: left;
    margin-right: 30px;
    max-width: 200px;
}

#galBoxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

#galBoxes div {
    flex: 1 1 calc(20% - 10px); /* Adjust to control how many items per row */
    max-width: calc(20% - 10px);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

#galBoxes img {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

#galBoxes div:hover {
    transform: translateY(-5px);
}

#galBoxes div:hover img {
    transform: scale(1.1);
}

/* SnappyQuote Layout Overrides */
#wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
}

#wrapper a {font-size: 14px;}
/* Fat-Finger Form Styling */
.formBit {
    margin-bottom: 20px;
    padding: 10px;
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #eee;
}

.formBit input.textbox,
.formBit textarea.textbox {
    width: 100%;
    padding: 15px;
    font-size: 18px; /* High legibility */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 8px;
}

/* Customer Cards on Dashboard */
.customer-card {
    border: 1px solid #ddd;
    margin: 15px 0;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.customer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.owed-badge {
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
}

/* Quote History List */
.quote-history-list {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.quote-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.quote-item-row:last-child { border-bottom: none; }

.status-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }

/* Mobile Action Buttons */
.action-grid {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp {
    background: #25D366 !important;
    border: none !important;
    color: white !important;
}

/* Ensure Gbuttons look like actual buttons */
.Gbuttons {
    display: inline-block;
    padding: 12px 20px;
    background-color: #006699; /* BluCMS Primary */
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.Gbuttons:hover {
    background-color: #004466;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Specific button overrides for the Dashboard Grid */
.btn-new-quote {
    background-color: #53555c !important; /* Dark Grey */
}

.btn-whatsapp {
    background-color: #25D366 !important; /* WhatsApp Green */
    color: #ffffff !important;
}

/* Fix for the generic submit button in forms */
input[type="submit"].Gbuttons {
    -webkit-appearance: none;
    appearance: none;
}
/* Quote Builder Container */
.quote-container {
    padding: 15px;
}

/* Row Styling */
.quote-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

/* Input Overrides */
.quote-row .textbox {
    font-size: 16px !important;
    height: 33px;
    padding: 8px !important;
    box-sizing: border-box;
}

.quote-row .desc-input {
    flex: 2;
    min-width: 180px;
}

.quote-row .price-input {
    flex: 0.5;
    min-width: 120px;
}

/* VAT Button Toggle */
.vat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    background: #f4f4f4;
    border: 1px solid #ccc;
    padding: 0 15px;
    border-radius: 5px;
    height: 29px;
    cursor: pointer;
}

.vat-toggle {
    /* transform: scale(1.8); */
}

/* Remove Row Button */
.remove-row {
    background: #fff;
    border: 1px solid #cc0000;
    color: #cc0000;
    cursor: pointer;
    font-size: 24px;
    width: 51px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.remove-row:hover {
    background: #cc0000;
    color: #fff;
}

/* Add Item Button */
.btn-add {
    background: #53555c !important;
    margin-top: 10px;
    width: 100%;
    padding: 15px !important;
}

/* Totals Section */
#totals-box {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    text-align: right;
}

.grand-total-text {
    font-size: 36px;
    margin: 10px 0 0 0;
}

/* Form Action Buttons */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-save {
    flex: 1;
    background: #006699 !important;
    padding: 20px !important;
}

.btn-whatsapp {
    flex: 2;
    background: #25D366 !important;
    border: none !important;
    font-size: 20px !important;
    padding: 20px !important;
}

.customerCard {
    border:1px solid #ddd; margin:10px; padding:15px; border-radius:5px; background:#fff;
}