@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

h2 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #ffae17;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

.txt-center {
    text-align: center;
}

.txt-left {
    text-align: left;
}

.txt-right {
    text-align: right;
}

.container {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.form-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0;
    width: 100%;
    gap: 20px;
}

.company-cnt__name {
    font-weight: bold;
    color: #FF0000;
    font-size: 28px;
}

.company-cnt__subname {
    font-size: 18px;
    color: #9BBB59;
    padding-top: 2px;
}

.company-cnt__address {
    font-size: 14px;
    padding-top: 2px;
    line-height: 1.5;
}

.form-header h1 {
    margin: 0;
}

.form-header li {
    list-style: none;
    margin: 0 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffae17;
    cursor: pointer;
}

.form-header img {
    width: 120px;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .form-header img {
        width: 90px;
    }

    .company-cnt__name {
        font-size: 20px;
    }

    .company-cnt__subname {
        font-size: 14px;
        padding-top: 0;
    }

    .company-cnt__address {
        font-size: 12px;
        padding-top: 0;
    }
}

.form-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
    box-sizing: border-box;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .form-inner {
        justify-content: flex-start;
        gap: 20px;
    }
}

form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 6px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
}

input, textarea {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    transition: border 0.3s ease;
}

input::placeholder {
    color: #ddd;
}

select {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

select:focus {
    border: 1px solid #ffae17;
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 0;
    border: none;
    border-radius: 5px;
    background: #ffae17;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #e2e22e;
}

button#cancel {
    background: #ccc;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button#cancel:hover {
    background: #bbb;
}

#result {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.icon-logout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.icon-logout i {
    font-size: 28px;
    color: #ffae17;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* .icon-logout i.fa-home {
    animation: bell-shake 0.5s ease infinite;
}

@keyframes bell-shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(0); }
    75% { transform: rotate(10deg); }
} */

.icon-logout i:hover {
    color: #e2e22e;
}

.icon-logout svg {
    width: 20px;
    height: 20px;
    fill: #ffae17;
    cursor: pointer;
}

svg:hover {
    fill: #e2e22e;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}





table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

table .payment {
    display: none;
}

table tr .payment.unpaid {
    display: inline-block;
}

table tr td.unpaid {
    color: #4b5ccd;
}

table tr td.paid {
    color: #28a745;
}

table tr td.closed {
    color: #b72525;
}

table tr td.cancelled {
    color: #292b07;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 800px) {
    #customerTable {
        min-width: 600px;
    }
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #ccc;
}

th {
    background-color: #f2f2f2;
}

.filters {
    display: flex;
    gap: 10px;
}

.filters button {
    width: auto;
}

.filters select {
    padding: 8px;
    margin: 0 0 0 0;
    width: auto;
    width: 200px;
}

.filters input {
    padding: 8px;
    margin: 0 0 0 0;
    width: 200px;

}

@media screen and (max-width: 768px) {
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters input,
    .filters select {
        width: 100%;
    }
}

.pagination {
    margin-top: 15px;
    text-align: right;
    margin-bottom: 50px;
}

.pagination button {
    padding: 5px 10px;
    margin: 0 3px;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    width: auto;
    background-color: #f2f2f2;
    color: #333;
}

.pagination button.active {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.customer-popup,
.popup-confirm {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    z-index: 1001;
    left: 0;
    overflow: hidden;
}

.customer-popup>.customer-popup-content,
.popup-confirm>.popup-confirm-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 16px;
}

.customer-popup>.customer-popup-content>h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #ffae17;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e2e22e;
}

.customer-popup input {
    margin: 0;
}

.popup-confirm-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.popup-confirm h3 {
    margin-bottom: 0;
    text-align-last: left;
}

.name-company {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffae17;
}

input#sendReceipt {
    display: inline-block;
    margin: 0;
    width: 20px;
    height: 16px;
    position: relative;
    top: 2px;
}

.popup-confirm-text {
    margin: 0 0 10px;
}

.customer-list .form-header {
    justify-content: space-between;
}

.landing-page .form-header {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.landing-page p {
    margin: 0;
    padding: 0;
}
.landing-page section {
    margin-top: 40px;
}

.landing-page h2 {
    text-align: left;
    line-height: 1.2;
    color: #FF0000;
}
.landing-page h3 {
    text-align: left;
    line-height: 1.2;
}
.landing-page .main-content__inner {
    position: relative;
}
.landing-page .main-content__inner img {
    width: 100%;
    height: auto;
}
.landing-page .main-content__inner  .main-content__detail {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}
.landing-page nav {
    flex-grow: 1;
}
.landing-page .form-header img {
    width: 140px;
}
.landing-page nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.landing-page .main-content h2 {
    color: #000;
}
.landing-page .main-content p {
    color: #000;
    font-size: 18px;
}

.landing-page .cta-button {
    background: #ffae17;
    color: white;
    padding: 7px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
}

.landing-page .services,
.landing-page .testimonials,
.landing-page .partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.landing-page .service,
.landing-page .testimonial,
.landing-page .partner {
    flex: 1 1 250px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.landing-page footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 60px;
}

.landing-page form input,
.landing-page form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}
.landing-page form {
    max-width: none;
    box-shadow: none;
    padding: 0;
}
.landing-page form button {
    background: #ffae17;
    border: none;
    cursor: pointer;
    width: 170px;
}
.landing-page .company-cnt__name {
    font-size: 70px;
}
.landing-page .company-cnt__subname {
    font-size: 20px;
}
@media screen and (max-width: 1023px) {
    .landing-page .form-header {
        gap: 6px;
        flex-direction: column;
    }
    .landing-page .company-cnt__subname {
        text-align: center;
    }
    .landing-page nav ul {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .landing-page .company-cnt__name {
        font-size: 55px;
    }
}
@media screen and (max-width: 768px) {
    .landing-page h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    .landing-page h3 {
        font-size: 1.4rem;
    }
    .landing-page section {
        margin-top: 25px;
    }
    .landing-page nav ul {
        padding-left: 0;
    }

    .landing-page nav ul li a {
        font-size: 1rem;
    }
    #payment a.mailto {
        width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
    .landing-page .form-header li {
        margin: 0;
    }
    .landing-page footer {
        margin-top: 30px;
    }
    .landing-page .company-cnt__name {
        font-size: 26px;
    }
    .landing-page .company-cnt__subname {
        font-size: 16px;
        text-align: center;
    }
    
}
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffae17;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.scroll-to-top:hover {
    background-color: #e2e22e;
}
@media screen and (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .scroll-to-top i {
        font-size: 20px;
    }
}