﻿.glass-table-wrapper {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 90%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    overflow-x: auto;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.glass-table thead {
    background: rgba(43,101,159,0.85);
}

.glass-table thead th {
    padding: 0.75rem 1rem;
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.glass-table tbody tr {
    background: rgba(255,255,255,0.1);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.glass-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.07);
}

.glass-table tbody tr:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.glass-table tbody td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
}

.control-col {
    width: 36px;
}

.toggle-icon {
    color: #ffff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.toggle-icon.open {
    transform: rotate(90deg);
}

.details-row {
    display: none;
    background: rgba(255,255,255,0.05);
}

.details-row td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.details-row strong {
    color: #fff;
}

.glass-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.glass-table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(43,101,159,0.6);
    border-radius: 3px;
}

.glass-table thead tr:first-child th:first-child {
    border-top-left-radius: 1rem;
}

.glass-table thead tr:first-child th:last-child {
    border-top-right-radius: 1rem;
}

.glass-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 1rem;
}

.glass-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 1rem;
}

.details-row a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s;
}

.details-row a:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    .glass-table thead th:not(:nth-child(2)),
    .glass-table tbody td:not(:nth-child(2)):not(:first-child) {
        display: none;
    }

    .glass-table thead th:nth-child(2),
    .glass-table tbody td:nth-child(2) {
        text-align: left;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.full-height-section {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 180px;
}

.glass-effect-table {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 25px;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.partners-table {
    width: 100%;
    border-radius: 12px;
    overflow: visible;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.partners-table thead th {
    background: rgba(43, 101, 159, 0.9);
    color: white;
    text-align: center;
    padding: 12px 10px;
    font-weight: 600;
    border-radius: 0 !important;
}

.partners-table td {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

.partners-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.control:before {
    content: '+';
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #eee814;
    color: #2b659f;
    border-radius: 50%;
    margin-right: 6px;
    font-weight: bold;
    font-size: 12px;
}

table.dataTable.dtr-inline > tbody > tr.parent > td.control:before {
    content: '–';
}

.btn-edit,
.btn-delete {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    border: none;
    transition: 0.3s ease;
}

.btn-edit {
    background-color: #f0ad4e;
    color: #fff;
}

.btn-edit:hover {
    background-color: #ec971f;
}

.btn-delete {
    background-color: #d9534f;
    color: #fff;
}

.btn-delete:hover {
    background-color: #c9302c;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_filter input::placeholder,
.dataTables_filter input::-webkit-input-placeholder,
.dataTables_filter input::-moz-placeholder,
.dataTables_filter input:-ms-input-placeholder,
.dataTables_filter input::-ms-input-placeholder {
    color: white !important;
    opacity: 1 !important;
}

.dataTables_filter input {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 6px 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.dataTables_wrapper .dataTables_length select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
}

.dataTables_wrapper .dataTables_length select option {
    background-color: #2b659f;
    color: white;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: white !important;
    font-family: 'Montserrat', sans-serif;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: white !important;
    opacity: 0.5 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    border-radius: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.partners-table td {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-align: left !important;
    vertical-align: middle;
    padding: 12px 14px;
}

.partners-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.partners-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.partners-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

.partners-table {
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

@media (max-width: 768px) {
    .glass-effect-table {
        padding: 15px !important;
    }

    .partners-title {
        font-size: 24px !important;
    }

    .partners-description {
        font-size: 14px !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 2px 4px !important;
        margin: 0 1px !important;
        font-size: 10px !important;
        min-width: 20px !important;
        height: 20px !important;
        line-height: 16px !important;
        border-radius: 3px !important;
    }

    .dataTables_wrapper .dataTables_info {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }

    .dataTables_filter input {
        padding: 3px 6px !important;
        font-size: 10px !important;
        width: 120px !important;
    }

    .dataTables_wrapper .dataTables_length select {
        padding: 2px 4px !important;
        font-size: 10px !important;
    }

    .dataTables_wrapper .dataTables_paginate {
        text-align: center !important;
        margin-top: 10px !important;
    }

    .dtr-details {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        border-radius: 6px !important;
        padding: 8px !important;
        margin: 5px 0 !important;
        font-size: 11px !important;
    }

    .dtr-details li {
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 3px 0 !important;
    }

    .dtr-details li:last-child {
        border-bottom: none !important;
    }
}

@media (max-width: 480px) {
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 1px 3px !important;
        margin: 0 1px !important;
        font-size: 9px !important;
        min-width: 18px !important;
        height: 18px !important;
        line-height: 16px !important;
        border-radius: 2px !important;
    }

    .glass-effect-table {
        padding: 8px !important;
    }

    .partners-title {
        font-size: 25px !important;
    }

    .partners-description {
        font-size: 13px !important;
    }

    .dataTables_wrapper .dataTables_info {
        font-size: 9px !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        font-size: 9px !important;
    }

    .dataTables_filter input {
        padding: 2px 4px !important;
        font-size: 9px !important;
        width: 100px !important;
    }

    .dataTables_wrapper .dataTables_length select {
        padding: 1px 3px !important;
        font-size: 9px !important;
    }
}

@media (max-width: 768px) {
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.control:before,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.control:before {
        width: 14px;
        height: 14px;
        line-height: 14px;
        font-size: 10px;
        margin-right: 3px;
    }
}

@media (max-width: 480px) {
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.control:before,
    table.dataTable.dtr-inline.collapsed > tbody > tr > th.control:before {
        width: 12px;
        height: 12px;
        line-height: 12px;
        font-size: 9px;
        margin-right: 2px;
    }
}

.glass-effect-description {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 20px;
    line-height: 1.9;
    text-align: justify;
}

.glass-effect-description .partners-title {
    margin-bottom: 15px;
}

.glass-effect-description .partners-description {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .glass-effect-description {
        padding: 20px !important;
        margin-bottom: 15px !important;
        line-height: 1.9;
    }
}

@media (max-width: 768px) {
    .partners-description {
        font-size: 14px !important;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .glass-effect-description {
        padding: 15px !important;
        margin-bottom: 10px !important;
        line-height: 1.9;
    }
}

/* Work with us? - Adaptive */

.text-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

.text-section h2 {
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(20px, 6.2vw, 40px);
    text-wrap: balance;
    overflow-wrap: anywhere;
}

@media (max-width: 576px) {
    .description-card {
        font-size: 14px;
    }

    .submit-button {
        display: inline-block;
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .text-section h2 {
        font-size: 18px;
    }
}