/* Stipendien Finder Frontend Styles */

.stipendien-finder-wrapper {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.stipendien-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stipendien-search,
.stipendien-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 40px;
}

.stipendien-search {
    flex: 1;
    min-width: 250px;
}

.stipendien-filter {
    min-width: 200px;
}

.stipendien-search:focus,
.stipendien-filter:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.stipendien-table-container {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.stipendien-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.stipendien-table thead {
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
}

.stipendien-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}

.stipendien-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.stipendien-table tbody tr:hover {
    background-color: #f9fafb;
}

.stipendien-table td {
    padding: 12px 15px;
    vertical-align: top;
}

.stipendien-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.stipendien-link {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.stipendien-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.stipendien-no-link {
    color: #9ca3af;
}

.stipendien-hinweis {
    display: inline-block;
    margin-left: 8px;
    cursor: help;
    font-size: 16px;
}

.stipendien-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.stipendien-no-results p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stipendien-controls {
        flex-direction: column;
    }

    .stipendien-search,
    .stipendien-filter {
        width: 100%;
    }

    .stipendien-table {
        font-size: 12px;
    }

    .stipendien-table th,
    .stipendien-table td {
        padding: 8px 10px;
    }

    .stipendien-table-container {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .stipendien-table th,
    .stipendien-table td {
        padding: 6px 8px;
        font-size: 11px;
    }

    .stipendien-table th {
        font-size: 12px;
    }
}
