/*
 * CIMS Info Docs Styles
 * Converted from Perfex CRM info_docs module
 */

/* Nav and Tabs */
.info-docs-tab-wrapper .info-docs-nav-link {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 10px 10px 0 0 !important;
    margin-right: 3px;
    transition-duration: .25s;
    cursor: pointer;
}

.info-docs-tab-wrapper .info-docs-nav-link.active {
    border-color: #ccc #ccc #fff !important;
}

.info-docs-tab-wrapper .info-docs-nav-link:hover,
.info-docs-tab-wrapper .info-docs-nav-link:focus {
    background-color: #f8f8f8;
}

.info-docs-tab-wrapper .info-docs-nav-tabs {
    border-bottom: 1px solid #ccc;
}

.info-docs-tab-wrapper .info-docs-tab-content {
    border: 1px solid #ccc;
    border-top: none;
    padding: 15px;
    background-color: #fff;
}

/* Sub Nav Tabs */
.info-docs-subnav-tabs {
    background: #6e6e6e;
    padding: 10px;
    border-radius: 6px;
}

.info-docs-subnav-tabs .info-docs-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-docs-subnav-tabs .info-docs-tab-item {
    margin-bottom: 5px;
}

.info-docs-subnav-tabs .info-docs-tab-item a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.info-docs-subnav-tabs .info-docs-tab-item a:hover,
.info-docs-subnav-tabs .info-docs-tab-item a.active {
    background-color: #8c8c8c;
}

/* Info Docs Table */
.info-docs-table {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.info-docs-table .table-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.info-docs-table .table-row:last-child {
    border-bottom: none;
}

.info-docs-table .table-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.info-docs-table .table-title .cell {
    flex: 1;
}

.info-docs-table .table-header {
    background: #f5f5f5;
    font-weight: 600;
}

.info-docs-table .table-header .cell {
    padding: 10px 15px;
    border-right: 1px solid #ddd;
}

.info-docs-table .table-header .cell:last-child {
    border-right: none;
}

.info-docs-table .info-content {
    padding: 0;
}

.info-docs-table .info-content .cell {
    padding: 10px 15px;
    border-right: 1px solid #eee;
}

.info-docs-table .info-content .cell:first-child {
    background: #f9f9f9;
    font-weight: 500;
    width: 40%;
}

.info-docs-table .info-content .cell:last-child {
    border-right: none;
    flex: 1;
}

/* Company Summary */
.company-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.company-summary ul {
    margin: 0;
    padding: 0;
}

.company-summary li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.company-summary li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.company-summary p {
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
}

.company-summary .h3_class {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Actions Box */
.actions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.actions h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

/* Form Styles */
.form-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.form-modal .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Custom Loader */
.custom-loader {
    padding: 20px;
    text-align: center;
}

/* Table Icon Style */
.table-icon-style {
    background: #667eea;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.table-icon-style:hover {
    background: #5a6fd6;
    color: #fff;
}

/* Button Styles */
.font_set_btn {
    font-size: 14px;
}

.seach_by_btn {
    width: 100%;
}

.text-green {
    color: #28a745 !important;
}

.bg-red {
    background-color: #dc3545 !important;
}

.h2_class {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Dropdown Styles */
.dropdown-item-info-docs {
    padding: 8px 15px;
    font-size: 14px;
}

.dropdown-item-info-docs:hover {
    background-color: #f8f9fa;
}

/* Refresh Button */
.refresh {
    margin-right: 10px;
    padding: 5px 10px;
}

/* Label Master */
.label-master {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* DataTables Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 0 2px;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #667eea;
    color: #fff !important;
    border: none;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px 10px;
}

/* Past Directors/Officers Header */
.table-header-past {
    background: #ffebee !important;
}
