/**
 * ToAssign Archive Page Styles
 */
.toassign-archive {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.toassign-archive-header {
    margin-bottom: 40px;
}

.toassign-archive-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.toassign-archive-description {
    color: #666;
    font-size: 16px;
    max-width: 600px;
}

.toassign-filters {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.toassign-filters label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.toassign-filters select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
    background: #fff;
}

.toassign-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.toassign-results-count {
    margin-left: auto;
    color: #666;
    font-size: 14px;
}

.toassign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.toassign-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.toassign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.toassign-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.toassign-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toassign-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toassign-card-placeholder .dashicons {
    font-size: 48px;
    color: #bbb;
}

.toassign-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.toassign-card-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.toassign-card-badge-status {
    background: rgba(255,255,255,0.95);
}

.toassign-card-badge-status.available {
    color: #155724;
}

.toassign-card-badge-status.sold {
    color: #721c24;
}

.toassign-card-badge-status.pending {
    color: #856404;
}

.toassign-card-badge-type {
    background: rgba(0,0,0,0.7);
    color: #fff;
}

.toassign-card-content {
    padding: 20px;
}

.toassign-card-price {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa;
    margin: 0 0 10px;
}

.toassign-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #1a1a1a;
}

.toassign-card-title a {
    color: inherit;
    text-decoration: none;
}

.toassign-card-title a:hover {
    color: #0073aa;
}

.toassign-card-address {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px;
}

.toassign-card-details {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.toassign-card-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.toassign-card-detail .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #888;
}

.toassign-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
}

.toassign-card-als {
    font-family: monospace;
    font-size: 12px;
    color: #888;
}

.toassign-card-region {
    font-size: 12px;
    color: #0066cc;
    font-weight: 500;
}

.toassign-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.toassign-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

.toassign-pagination .page-numbers:hover {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.toassign-pagination .page-numbers.current {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.toassign-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.toassign-no-results h3 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #333;
}

.toassign-no-results p {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .toassign-archive-title {
        font-size: 28px;
    }
    
    .toassign-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toassign-results-count {
        margin-left: 0;
        text-align: center;
    }
    
    .toassign-grid {
        grid-template-columns: 1fr;
    }
}
