/* Message Box Styles */
.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #10b981;
    z-index: 10000;
    min-width: 400px;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-box.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.message-box.success {
    border-left-color: #10b981;
}

.message-box.error {
    border-left-color: #ef4444;
}

.message-box.warning {
    border-left-color: #f59e0b;
}

.message-box.info {
    border-left-color: #3b82f6;
}

.message-content {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    background: white;
    border-radius: 12px;
}

.message-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.message-box.success .message-icon {
    background: #ecfdf5;
    color: #10b981;
}

.message-box.error .message-icon {
    background: #fef2f2;
    color: #ef4444;
}

.message-box.warning .message-icon {
    background: #fffbeb;
    color: #f59e0b;
}

.message-box.info .message-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.message-text {
    flex: 1;
    min-width: 0;
}

.message-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1f2937;
}

.message-description {
    font-size: 14px;
    margin: 0;
    color: #6b7280;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 10px;
}

.message-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.message-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #10b981;
    border-radius: 0 0 0 8px;
    width: 100%;
    transform-origin: left;
    animation: progressBar 5s linear forwards;
}

.message-box.success .message-progress {
    background: #10b981;
}

.message-box.error .message-progress {
    background: #ef4444;
}

.message-box.warning .message-progress {
    background: #f59e0b;
}

.message-box.info .message-progress {
    background: #3b82f6;
}

@keyframes progressBar {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .message-box {
        min-width: 90%;
        max-width: 90%;
        left: 5%;
        transform: translateX(0) translateY(-100px);
    }

    .message-box.show {
        transform: translateX(0) translateY(0);
    }

    .message-content {
        padding: 16px;
    }

    .message-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }

    .message-title {
        font-size: 15px;
    }

    .message-description {
        font-size: 13px;
    }
}

/* Add to your existing CSS */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pagination-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.pagination-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.pagination-info {
    padding: 0.5rem 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-left: 4px solid #2563eb;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.25rem;
}

.notification-success i {
    color: #10b981;
}

.notification-error i {
    color: #ef4444;
}

.notification-warning i {
    color: #f59e0b;
}

/* List view styles */
.job-listings-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-listings-grid.list-view .job-card {
    display: flex;
    flex-direction: column;
}

/* No jobs found state */
.no-jobs-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-jobs-content i {
    color: #6b7280;
    margin-bottom: 1rem;
}

.no-jobs-content h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-jobs-content p {
    color: #6b7280;
    margin-bottom: 2rem;
}