@charset "utf-8";

.mine-resources-page {
    min-height: 100vh;
    background: #e8e8e8;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #222;
    padding: 20px;
    box-sizing: border-box;
}

.mine-resources-header {
    max-width: 1100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mine-resources-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mine-resources-desc {
    font-size: 12px;
    color: #555;
    margin: 4px 0 0 0;
}

.mine-resources-back {
    display: inline-block;
    padding: 8px 16px;
    background: #e6e6e6;
    color: #333;
    text-decoration: none;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.mine-resources-back:hover {
    background: #dadada;
    border-color: #999;
}

.mine-resources-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mine-resources-table-wrapper {
    padding: 20px;
    overflow-x: auto;
}

#mine-resources {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 12px;
}

#mine-resources thead th {
    background: #e6e6e6;
    color: #333;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid #d3d3d3;
    font-weight: bold;
}

#mine-resources thead th:first-child {
    border-radius: 4px 0 0 0;
}

#mine-resources tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

#mine-resources tbody tr:nth-child(even) {
    background: #f9f9f9;
}

#mine-resources tbody tr:hover {
    background: #f0f0f0;
}

#mine-resources tbody td:first-child {
    color: #222;
}

#mine-resources tbody td:first-child a {
    color: #000;
    text-decoration: none;
}

#mine-resources tbody td:first-child a:hover {
    color: #b00;
    text-decoration: underline;
}

#mine-resources tbody td:not(:first-child) {
    text-align: center;
    color: #444;
    min-width: 60px;
}

#mine-resources tfoot th {
    background: #e6e6e6;
    color: #555;
    padding: 10px 14px;
    font-size: 11px;
}

.dataTables_wrapper {
    color: #555;
}

.dataTables_filter input {
    background: #fff;
    border: 1px solid #bbb;
    color: #222;
    padding: 6px 10px;
    border-radius: 4px;
    margin-left: 8px;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #999;
}

.dataTables_filter label,
.dataTables_info {
    font-size: 11px;
}

.dataTables_processing {
    color: #555 !important;
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #555;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #e6e6e6 !important;
    color: #333 !important;
    border: 1px solid #d3d3d3 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #dadada !important;
    border-color: #999 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #d7d7d7 !important;
    border-color: #999 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: #999 !important;
}

/* Hide default DataTables table styling */
.mine-resources-page .dataTables_wrapper table.dataTable {
    background: transparent;
    border: none;
}

.mine-resources-page .dataTables_wrapper table.dataTable thead th,
.mine-resources-page .dataTables_wrapper table.dataTable thead td {
    border: none;
}

.mine-resources-page .dataTables_wrapper table.dataTable tbody td {
    border: none;
}
