* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f0f4f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #1a73e8;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 6px;
}

header p {
    font-size: 0.95rem;
    opacity: 0.85;
}

main {
    flex: 1;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    width: 100%;
}

.search-box {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.filter-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

input, select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
}

input:focus, select:focus {
    border-color: #1a73e8;
}

.search-row input {
    flex: 1;
}

select {
    min-width: 160px;
}

button {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: auto;
}

button:hover {
    background: #1558b0;
}

button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

#status-bar {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

#status-bar.error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

#status-bar.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

#status-bar.loading {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.hidden {
    display: none;
}

#results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.job-card h3 {
    font-size: 1rem;
    color: #1a73e8;
}

.job-card .company {
    font-weight: 600;
    font-size: 0.9rem;
}

.job-card .meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-card .meta span {
    background: #f0f4f8;
    padding: 3px 8px;
    border-radius: 4px;
}

.job-card .salary {
    font-size: 0.88rem;
    color: #2e7d32;
    font-weight: 600;
}

.job-card .description {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.job-card a {
    display: inline-block;
    margin-top: auto;
    padding: 8px 16px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.88rem;
    text-align: center;
    transition: background 0.2s;
}

.job-card a:hover {
    background: #1558b0;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #888;
}

footer a {
    color: #1a73e8;
    text-decoration: none;
}
