.vote-flow-nomination-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
}

.vfm-nomination-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007cba;
    font-size: 16px;
    line-height: 1.5;
}

/* Tab Styles */
.vfm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    /*margin-bottom: 20px;*/
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

.tab-button:hover {
    background: #e9ecef;
}

.tab-button.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
    font-weight: 600;
}

/* Tab Content */
.vfm-tab-content {
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.vfm-category-section {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.vfm-category-section h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007cba;
    font-size: 1.3em;
    line-height: 1.4;
}

.vfm-nomination-table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.vfm-nomination-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
    line-height: 1.5;
}

.vfm-nomination-table th,
.vfm-nomination-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.vfm-nomination-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #007cba;
    font-size: 14px;
}

.vfm-nomination-table tr:hover {
    background-color: #f8f9fa;
}

.vfm-nomination-table a {
    color: #007cba;
    text-decoration: none;
    word-break: break-all;
    font-size: 14px;
    line-height: 1.4;
}

.vfm-nomination-table a:hover {
    text-decoration: underline;
}

.vfm-no-nominations {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.4;
}

.vfm-nomination-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

/* Enhanced Button Styling */
.vfm-nomination-footer .button {
    font-size: 16px;
    padding: 12px 25px;
    line-height: 1.4;
    background: #007cba;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,124,186,0.3);
}

.vfm-nomination-footer .button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.4);
}

.vfm-nomination-footer .button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,124,186,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .vote-flow-nomination-list {
        padding: 15px;
        font-size: 14px;
    }

    .vfm-nomination-intro {
        padding: 15px;
        font-size: 14px;
        line-height: 1.4;
    }

    .vfm-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 5px;
        padding: 8px 12px;
        font-size: 14px;
        line-height: 1.3;
    }

    .vfm-category-section h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .vfm-nomination-table th,
    .vfm-nomination-table td {
        padding: 8px 10px;
        font-size: 13px;
        line-height: 1.3;
    }

    .vfm-nomination-table a {
        font-size: 13px;
        line-height: 1.3;
    }

    .vfm-nomination-footer .button {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .vote-flow-nomination-list {
        padding: 10px;
        font-size: 13px;
    }

    .vfm-category-section h3 {
        font-size: 1.1em;
    }

    .vfm-nomination-table-wrapper {
        font-size: 0.9em;
    }

    .vfm-nomination-table th,
    .vfm-nomination-table td {
        padding: 6px 8px;
        font-size: 12px;
    }

    .vfm-nomination-table a {
        font-size: 12px;
    }
}
