/* styles.css */
.service-content-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 15px;
}

.qr-code {
    padding: 10px;
    display: inline-block;
}

.service-content {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 1.2rem;
    color: #666;
}

.service-content i {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.service-content span {
    line-height: 1.4;
}

.copy-icon {
    cursor: pointer;
    color: #007bff;
    margin-left: 5px;
}

.copy-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: #0a2f13;
    color: white;
    border-radius: 5px;
    z-index: 1000;
    transition: opacity 0.5s;
}

.copy-message.hidden {
    opacity: 0;
}

.purchase-link {
    display: inline-block;
    margin-left: 26px;
}

.purchase-link a {
    color: #007bff;
    text-decoration: none;
}

.purchase-link a:hover {
    text-decoration: underline;
}

.table-responsive {
    overflow-x: auto;
}

.table td, .table th {
    word-break: break-all;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255,255,255,0.97);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.no-wrap {
    white-space: nowrap;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}

@media (max-width: 600px) {
    .table-responsive {
        overflow-x: hidden;
    }

    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
    }

    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 100px;
        white-space: normal;
    }

    .table td:before {
        position: absolute;
        left: 10px;
        width: 20%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
    }

    .overlay img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

.service-provider-icon {
    margin-left: 10px;
    cursor: pointer;
}

.add-record-icon {
    margin-left: 10px;
    cursor: pointer;
}

.file-content {
    margin-top: 10px;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    white-space: pre-wrap;
}

.download-link {
    margin-top: 10px;
}

.form-group-inline {
    display: flex;
    justify-content: space-between;
}

.form-group-inline .form-group {
    flex: 1;
    margin-right: 10px;
}

.form-group-inline .form-group:last-child {
    margin-right: 0;
}



.navbar-nav {
    font-size: 2.4rem;
    color: #2196F3;
    padding: 5px;
    margin-bottom: 0;
    text-align: center;
    border-bottom: 2px solid #2196F3;
}

.links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.links-container a {
    font-size: 2.0rem;
    color: #2196F3;
    padding: 5px 15px;
    text-decoration: none;
    border: 1px solid #2196F3;
    border-radius: 5px;
    margin-right: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.links-container a:hover {
    background-color: #2196F3;
    color: white;
}
