/* =====================================================
   CONTENEDOR GENERAL
===================================================== */
.gd-docs-wrapper {
    margin-top: 30px;
    font-family: inherit;
}

/* =====================================================
   HEADER
===================================================== */
.gd-docs-header {
    background: #f0f7ff;
    padding: 40px 60px 10px;
    margin: -30px -40px 0;
    border-radius: 8px 8px 0 0;
}

/* Reajuste si queremos que ocupe todo el ancho del wrapper */
.gd-docs-wrapper {
    margin-top: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.gd-docs-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.gd-docs-header p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

/* =====================================================
   TABS
===================================================== */
.gd-docs-tabs {
    background: #f0f7ff;
    display: flex;
    gap: 50px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
    padding: 0 60px;
}

.gd-tab {
    background: none !important;
    border: none !important;
    padding: 10px 0 !important;
    font-size: 16px;
    cursor: pointer;
    color: #666 !important;
    position: relative;
    box-shadow: none !important;
    font-family: inherit;
}

.gd-tab.activa {
    color: #1f5fae !important;
    font-weight: 600;
}

.gd-tab.activa::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #1f5fae;
}

.gd-tab:hover {
    color: #1f5fae !important;
}

/* =====================================================
   TOOLBAR
===================================================== */
.gd-docs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.gd-docs-search {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    min-width: 400px;
}

.gd-docs-search input {
    flex: 1;
    border: none !important;
    padding: 8px 15px;
    font-size: 14px;
}

.gd-docs-search button {
    background: #1f5fae !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0 !important;
}

.gd-btn-publicar {
    background: #004a99 !important;
    color: #fff !important;
    padding: 10px 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: 0.2s;
}

.gd-btn-publicar:hover,
.gd-docs-search button:hover {
    background: #003366 !important;
}

.gd-plus-icon {
    font-size: 18px;
}

/* =====================================================
   TABLA AZUL
===================================================== */
.gd-docs-table-wrapper {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gd-docs-table {
    width: 100%;
    border-collapse: collapse;
}

.gd-docs-table thead tr {
    background: #1f5fae;
}

.gd-docs-table th {
    color: #fff;
    font-weight: 500;
    padding: 15px;
    text-align: left;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
}

.gd-docs-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.gd-col-numero {
    color: #666;
    width: 60px;
}

.gd-col-nombre {
    font-weight: 500;
}

/* =====================================================
   ACCIONES
===================================================== */
.gd-docs-actions {
    display: flex;
    gap: 15px;
}

.gd-action-icon {
    background: none !important;
    border: none !important;
    color: #1f5fae !important;
    cursor: pointer;
    font-size: 20px;
    padding: 0 !important;
    transition: 0.2s;
    text-decoration: none !important;
}

.gd-action-icon:hover {
    transform: scale(1.2);
}

.gd-action-icon.eliminar {
    color: #1f5fae !important;
    /* Mismo azul según mockup */
}

/* =====================================================
   FOOTER: PAGINACIÓN Y MOSTRAR
===================================================== */
.gd-footer-paginacion-admin {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.gd-mostrar-conteo-admin {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.gd-mostrar-conteo-admin select {
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

#gd-mostrando-texto-admin {
    font-weight: 600;
    color: #333;
}

.gd-paginacion-wrapper-admin {
    display: flex;
    gap: 4px;
}

/* BOTONES PAGINADOR */
.gd-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1f5fae;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.gd-page-btn:hover {
    background: #f0f7ff;
    border-color: #1f5fae;
}

.gd-page-btn.current {
    background: #1f5fae;
    color: #fff;
    border-color: #1f5fae;
    cursor: default;
}

.gd-page-btn.gd-arrow {
    background: #f3f4f6;
    color: #9ca3af;
    border: none;
    font-size: 18px;
}

.gd-page-btn.gd-arrow:hover {
    background: #e5e7eb;
    color: #374151;
}
