/**
 * Investment Docs Manager - CSV Reader Styles
 * Styles for [csv_data], [fondsdaten] shortcodes
 */

/* ==========================================================================
   CSV Data Table
   ========================================================================== */

.csv_output {
     max-width:100%
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.csv_output table {
    width: 100%;
     max-width:1440px;
    border-collapse: collapse;
}

/* Header Row */
.csv_output table tr:first-child {
    background-color: #F6F6F2;
}

.csv_output table tr:first-child td {
    font-weight: 500;
    color: #000;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

/* Data Rows */
.csv_output table tr {
    border-bottom: 1px solid #f0f0f0;
}

.csv_output table tr:last-child {
    border-bottom: none;
}

.csv_output table td {
    padding: 12px 20px;
    vertical-align: middle;
    color: #000;
    font-size: 14px;
}

/* Left column - labels */
.csv_output table td:first-child {
    color: #000;
    font-weight: 400;
    width: 60%;
}

/* Right column - values */
.csv_output table td:last-child {
    text-align: right;
    color: #000;
    width: 40%;
}

/* Hover effect */
.csv_output table tr:hover {
    background-color: #fafafa;
}

/* ==========================================================================
   Fondsdaten Table (same styling)
   ========================================================================== */

.fondsdaten-table {
    width: 100%;
 	max-width:1440px!important;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
   
    overflow: hidden;
}

.fondsdaten-table tr:first-child {
    background-color: #f5f3ef;
}

.fondsdaten-table tr:first-child td {
    font-weight: 500;
    color: #000;
    padding: 15px 20px;
    border-bottom: 1px solid #000;
}

.fondsdaten-table tr {
    border-bottom: 1px solid #000;
}

.fondsdaten-table tr:last-child {
    border-bottom: none;
}

.fondsdaten-table td {
    padding: 12px 20px;
    vertical-align: middle;
    color: #000;
    font-size: 14px;
}

.fondsdaten-table td:first-child {
    color: #000;
    font-weight: 400;
}

.fondsdaten-table td:last-child {
    text-align: right;
    color: #000;
}

.fondsdaten-table tr:hover {
    background-color: #fafafa;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {

    .csv_output {
        border-radius: 4px;
        margin: 15px 0;
      
    }

    .fondsdaten-table {
        border-radius: 4px;
   
    }

    .csv_output table td,
    .fondsdaten-table td {
        padding: 10px 12px;
        font-size: 12px;
    }

    .csv_output table tr:first-child td,
    .fondsdaten-table tr:first-child td {
        padding: 12px;
        font-size: 12px;
    }

    .csv_output table td:first-child,
    .fondsdaten-table td:first-child {
        width: 55%;
    }

    .csv_output table td:last-child,
    .fondsdaten-table td:last-child {
        width: 45%;
        font-size: 11px;
    }
}