/* Basic reset */
#service-form * {
    box-sizing: border-box;
}

#service-form {
    max-width: 820px;
    /*margin: 20px auto;
    padding: 20px;*/
    padding-bottom: 20px;
}

#service-form .form-section-title {
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

#service-form .form-group {
    margin-bottom: 8px;
}

#service-form label {
    display: block;
    margin-bottom: 0px;
    font-weight: 600;
    width: 100%;
}

#service-form input,
#service-form select {
    width: 100%;
    padding: 6px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

#service-form .equipment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

#service-form .equipment-table th,
#service-form .equipment-table td {
    padding: 8px;
}

#service-form .equipment-table tr {
    border-bottom: 1px solid #ddd;
}

#service-form .equipment-actions {
    display: flex;
    gap: 8px;
}

#service-form .btn-add,
#service-form .btn-remove,
#service-form #submit-btn {
    background-color: #1f6181;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 5px;
    cursor: pointer;
}

#service-form .btn-add {
    display: block;
    margin-left: auto;
    margin-bottom: 20px;
}

#service-form .btn-remove {
    background-color: #dc3545;
}

#service-form .btn-remove[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

#service-form #submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    font-size: 16px;
}

#service-form #loading {
    text-align: center;
    margin-top: 10px;
    display: none;
}

#service-form #success-message {
    margin-top: 20px;
    color: green;
    font-weight: bold;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    #service-form .equipment-table thead {
        display: none;
    }

    #service-form .equipment-table tr {
        display: block;
    }

    #service-form .equipment-table td {
        display: flex;
        flex-direction: column;
        padding: 3px 0;
        /*justify-content: space-between;*/
    }

    #service-form .equipment-table td::before {
        content: attr(data-label);
        font-weight: bold;
    }

    #service-form .btn-remove {
        margin-bottom: 10px;
    }
}

#banner-my-account {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
    padding: 5px;
    flex-wrap: wrap;
}

#banner-my-account img {
   height: 120px;
}

@media (max-width: 1200px) {
    #banner-my-account img {
        height: 80px;
    }
}

#content .banner {
    margin-bottom: 0;
}

#content .banner img.banner-pc {
    display: block;
}

#content .banner img.banner-mobile {
    display: none;
}

@media (max-width: 600px) {
    #content .banner img.banner-pc {
        display: none;
    }

    #content .banner img.banner-mobile {
        display: block;
    }
}
